Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5652: recursive_directory_iterator fails on cyclic symbolic links
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-17 14:51:50
#5652: recursive_directory_iterator fails on cyclic symbolic links
----------------------------------------------+-----------------------------
Reporter: Geurt Vos <geurt.vos@â¦> | Owner: bemandawes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------+-----------------------------
Comment (by macbishop@â¦):
Replying to [comment:4 bemandawes]:
> On Windows the program throws with a message "The name of the file
cannot be resolved by the system". I haven't looked at your patch yet, but
wanted to thank you for the test case first
Thanks for looking into this. To clarify, the test case takes as its first
argument a path to a directory containing the recursive symlink, so you
need to:
1) Setup a directory with a symlink that points to itself (not sure how to
do it on windows)
2) Then run the test case, with the path to the directory given as the
only argument, e.g. ./a.out thedir
Let me know if you have any questions or suggestions on the test-case or
patches.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5652#comment:5> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC