1 Jul
2005
1 Jul
'05
1:21 p.m.
Hi, I think I've found a problem with this function. On Windows 98/Me computers, it can fail with path not found error (3) if the from path is on a network share. I would suggest the following change to src\filesystem\operations_posix_windows.cpp: Currently: if ( !::CopyFileA( from_file_ph.string().c_str(), to_file_ph.string().c_str(), /*fail_if_exists=*/true ) ) Suggested change: if ( !::CopyFileA( from_file_ph.native_file_string().c_str(), to_file_ph.native_file_string().c_str(), /*fail_if_exists=*/true ) ) There may be other areas in the filesystem code where it would be better to use native_file_string(). Alice