Re: [Boost-bugs] [Boost C++ Libraries] #1972: boost::filesystem::remove() throws on self referenced symlinks

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1972: boost::filesystem::remove() throws on self referenced symlinks
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-26 08:39:35


#1972: boost::filesystem::remove() throws on self referenced symlinks
------------------------------+---------------------------------------------
  Reporter: dizzy_at_[hidden] | Owner: bemandawes
      Type: Bugs | Status: closed
 Milestone: Boost 1.36.0 | Component: filesystem
   Version: Boost 1.35.0 | Severity: Problem
Resolution: fixed | Keywords:
------------------------------+---------------------------------------------

Comment(by anonymous):

 Thanks for applying the patch. While looking for it I noticed it's not in
 1.36 release but it is in the boost trunk. This way I also noticed that
 the trunk code seems a sort of 1.35 code with my patch instead of being a
 1.36 version with some sort of adapted version of my patch. In 1.36:
 - remove():
         - has a default argument for error code thus allows to be called
 in a nothrow way
         - does not return bool but void and thus no need for any
 stat/exists() I/O call (errors based on the result of the system dependent
 remove API error)
 - remove_all()
         - has a default argument for error code thus allows to be called
 in a nothrow way

 I will adapt my patch for the 1.36 code since I think the current version
 in boost trunk reverses on good changes that were in 1.36 (unless you
 think otherwise of course :) ).

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1972#comment:2>
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:49:58 UTC