[filesystem] fs::exists(path) possible bug on WIN32

17 Dec
2006
17 Dec
'06
4:31 p.m.
Hello Beman, I've used your lib on WIN32 VC7.1 and function's fs::exists behavior was not correct. After applying the following change it works fine: operations_posix_windows.cpp:358 - if(::GetFileAttributesA( ph.string().c_str() ) == 0xFFFFFFFF) + if(::GetFileAttributesA( ph.native_file_string().c_str() ) == 0xFFFFFFFF) I just wonder why test cases are happy in both cases? Best, Oleg Abrosimov.
6754
Age (days ago)
6754
Last active (days ago)
0 comments
1 participants
participants (1)
-
Олег Абросимов