Boost C++ Libraries: Ticket #7202: filesystem: Function remove_all_aux() with an argument of type system::error_code& can throw exception in case of filesystem error https://svn.boost.org/trac10/ticket/7202 <p> Function remove_all_aux() calls non-exception safe fs::directory_iterator constructor (without argument of system::error_code&amp; type). </p> <p> For example, in case of free file descriptors lack in filesystem this constructor can throw an exception "Too many open files". </p> <p> The better way is to use exception-safe overload of fs::directory_iterator constructor (with argument of system::error_code&amp; type). </p> <p> Possible fix is in attachment. </p> <p> The issue is actual for any version from 1.47 to 1.50 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7202 Trac 1.4.3 batsun@… Tue, 07 Aug 2012 14:12:01 GMT attachment set https://svn.boost.org/trac10/ticket/7202 https://svn.boost.org/trac10/ticket/7202 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">00-exception-safe-directory-iterator.patch</span> </li> </ul> <p> patch for boost 1.47 </p> Ticket batsun@… Wed, 08 Aug 2012 08:27:37 GMT attachment set https://svn.boost.org/trac10/ticket/7202 https://svn.boost.org/trac10/ticket/7202 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">00-exception-safe-directory-iterator.2.patch</span> </li> </ul> <p> correct patch for boost 1.47 </p> Ticket