Boost logo

Boost :

From: Russell Hind (rhind_at_[hidden])
Date: 2004-01-20 05:00:29


Forgot to mention that this is on a windows system (probably obvious
from the directories I'm looking at), WinXP Pro SP 1.

Cheers

Russell

Russell Hind wrote:
> I have code that does this something similar to this:
>
> boost::filesystem::path p("C:\\Documents and Settings",
> boost::filesystem::native);
> p /= "russell";
> p /= "My Documents";
>
> Under 1.30.2, this worked fine. Under 1.31.0.rc1, this fails with
> exception saying that "My Documents" is invalid name. If I use the
> filesystem::native again, then it works correctly.
>
> boost::filesystem::path p("C:\\Documents and Settings",
> boost::filesystem::native);
> p /= "russell";
> p /= boost::filesystem::path("My Documents",
> boost::filesystem::native);
>
> Is this intended with the 'improved checking for directory and file name
> portability'. Are spaces nolonger allowed in portable path names? This
> seems fairly limiting to me.
>
> Thanks
>
> Russell
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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