Hi All,
I am using ACE.
when i try to open a file with ACE_OS::fopen function in append mode, my program crashes.
There seems to be no problem when i try ACE_OS::fopen function with write or read mode.
code example.
ACE_OS::fopen("demo.txt", ACE_TEXT("w")); // working fine
ACE_OS::fopen("demo.txt", ACE_TEXT("r")); // working fine
ACE_OS::fopen("demo.txt", ACE_TEXT("a")); // program crashes
when i debug the the program crashes in os_ns_thread.inl file
in ACE_OS::thread_mutex_lock function
Regards,
Amit Pawar