Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2006-10-30 23:07:42


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Peng Yu
> Sent: Monday, October 30, 2006 11:53 AM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] boost filesystem
>
> > > I have the following program and files .test.seg and test.seg. I
try
> > > to run the main program. It seems that boost filesystem doesn't
> > > recognize file name starting with a dot.
> > >
> > > Is it a bug in boost filesystem. Or I didn't use it properly?
> >
>
http://boost.org/libs/filesystem/doc/portability_guide.htm#name_check-_f
un
> ctions
> >
> > If you use the default constructor for path, then it uses a name
> > checker that doesn't allow filenames starting with dots. This was
> > intended to promote portability, but has been found to be a bad idea
> > and will not be in boost 1.34 (nor is it in the tr2 proposal).
>
> There is only version 1.33 online. How can I get 1.34?

[Nat] You don't need to use 1.34 to suppress the name check. Pass (e.g.)
boost::filesystem::no_check as the second parameter to the
boost::filesystem::path constructor.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net