Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7307: boost::filesystem::remove_all(dirname, ec) throws on write protected directories
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-13 22:30:33
#7307: boost::filesystem::remove_all(dirname,ec) throws on write protected
directories
-------------------------------+------------------------
Reporter: bach@⦠| Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------
Comment (by anonymous):
Any update on when this will be fixed ? I am new to this code so
apologies if I misunderstood anything.
remove_all_aux() may have forgotten to pass the error_code argument
to the constructor to the constructor of directory_iterator().
if (type == fs::directory_file) // but not a directory symlink
{
for (fs::directory_iterator itr(p); <<<---- itr(p, ec) instead ?!
itr != end_dir_itr; ++itr)
{
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7307#comment:3> 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:19 UTC