Boost logo

Boost :

From: Russell Hind (rhind_at_[hidden])
Date: 2004-01-20 12:48:37


Douglas Gregor wrote:
>
> Have all of the problems reported for RC1 been addressed? Is it time to roll
> RC2?
>

I'm still waiting for a reply on a possible regression in filesystem I
reported. Unfortunately I guess it requires Beman to respond who isn't
back from vacation yet. (Original post attached)

Cheers

Russell

Original post:

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.


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