From: Tor L. <tm...@ik...> - 2003-09-12 22:08:35
|
vh...@us... writes: > plantation$ g++ -o test.exe test.cc && ./test.exe && ls && cat test.cc > MINGW MiNgW mInGw mingw test.cc test.exe Wow. One learns something new every day... I would have guessed that the FILE_FLAG_POSIX_SEMANTICS was there only for the POSIX subsystem. (Although then it would of course not be in the Win32 CreateFile(), but in the corresponding kernel API.) As might be expected, the warning "Use care when using this option because files created with this flag may not be accessible by applications written for MS-DOS or 16-bit Windows" is a bit insufficient. Presumably few 32-bit applications can handle this either. Not even Windows Explorer realizes that they are separate files. If you select those four files, Copy (Control-C) and try to Paste (Control-V) them into another folder, it just copies the first one, then warns that a file with the same name is already there. --tml |