Opened 11 years ago

#6617 new Bugs

filesystem::remove_all can't delete directory that contains directory junction

Reported by: Nikolay Shelukhin <nikola-sh@…> Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.48.0 Severity: Problem
Keywords: junction remove remove_all Cc:

Description

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

Attachments (1)

remove_all.diff (573 bytes ) - added by Nikolay Shelukhin <nikola-sh@…> 11 years ago.

Download all attachments as: .zip

Change History (1)

by Nikolay Shelukhin <nikola-sh@…>, 11 years ago

Attachment: remove_all.diff added
Note: See TracTickets for help on using tickets.