Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2004-03-19 12:58:46


At 01:59 AM 3/13/2004, John Torjo wrote:
>
>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 )

It will be a few more days before I get a chance to look at this but it
isn't forgotten.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk