
13 Mar
2004
13 Mar
'04
6:59 a.m.
On a windows system, doing this: path::default_name_check( &windows_name); path p( "c:/temp/test"); Throws an exception. However, having: path::default_name_check( &native); path p( "c:/temp/test"); works. I think there is a bug in path_posix_windows.cpp, line 241: if ( (checker == no_check || checker == native) && src.size() >= 2 ) I guess it should be something like: if ( (checker == no_check || checker == native || check == windows_name) && src.size() >= 2 ) Best, John