Re: [Boost-bugs] [Boost C++ Libraries] #12640: is_empty and remove_all may throw even when called with error_code& argument.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12640: is_empty and remove_all may throw even when called with error_code& argument.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-12-03 06:38:59


#12640: is_empty and remove_all may throw even when called with error_code&
argument.
--------------------------------+------------------------
  Reporter: nigel.pattinson@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.62.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+------------------------

Comment (by ivan.mazovec@…):

 i have same problem.

 code:
 {{{
 #!C++
 boost::system::error_code e;
 boost::filesystem::is_empty("/lost+found", e);
 }}}

 output:

 unknown location(0): fatal error: in "general_case":
 boost::filesystem::filesystem_error:
 boost::filesystem::directory_iterator::construct: Permission denied:
 "/lost+found"

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12640#comment:1>
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:20 UTC