Boost logo

Boost :

Subject: Re: [boost] filesystem::create_directories error
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2010-03-24 16:34:28


Zachary Turner wrote:
> Can you see any problem with applying a fix where we just dont remove
> the trailing slash before recursing?

I think that in POSIX, if foo is a symlink to something that doesn't
exist then exists("foo") will be true, but exists("foo/") will be false.
 In this particular algorithm I don't see this issue breaking something
that works if you make your suggested change (barring crazy race
conditions), but it could change the failure mode.

John Bytheway


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