Boost logo

Boost :

Subject: Re: [boost] [filesystem] Should recursive_directory_iterator follow directory symlinks by default?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-02-12 07:58:55


On Sat, Feb 12, 2011 at 3:37 AM, Phil Richards
<news_at_[hidden]> wrote:
...>
> Coding to safely handle automatically following of symlinks on a
> recursive directory scan is sufficiently annoying that I'd suggest: (a)
> most people haven't done it (properly); and (b) adding an extra flag
> when it is to be done is a good reminder that the code is going to need
> to be more complex.

Good points. They further reinforce the decision to make not following
symlinks the default.

Thanks,

--Beman


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