[Boost-bugs] [Boost C++ Libraries] #6617: filesystem::remove_all can't delete directory that contains directory junction

Subject: [Boost-bugs] [Boost C++ Libraries] #6617: filesystem::remove_all can't delete directory that contains directory junction
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-25 21:08:30


#6617: filesystem::remove_all can't delete directory that contains directory
junction
----------------------------------------------------+-----------------------
 Reporter: Nikolay Shelukhin <nikola-sh@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: junction remove remove_all |
----------------------------------------------------+-----------------------
 filesystem::remove_all tries to delete junction by DeleteFile but it
 should be deleted by RemoveDirectory.
 http://msdn.microsoft.com/en-
 us/library/windows/desktop/aa365488%28v=vs.85%29.aspx

 Diff with fix is in attach

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6617>
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:09 UTC