This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively
- From: "ville at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 04 Jul 2016 13:15:41 +0000
- Subject: [Bug libstdc++/71313] [Filesystem TS] remove_all fails to remove directory contents recursively
- Auto-submitted: auto-generated
- References: <bug-71313-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71313
--- Comment #4 from ville at gcc dot gnu.org ---
Author: ville
Date: Mon Jul 4 13:15:10 2016
New Revision: 237980
URL: https://gcc.gnu.org/viewcvs?rev=237980&root=gcc&view=rev
Log:
PR libstdc++/71313
* src/filesystem/ops.cc (remove_all(const path&, error_code&)):
Call remove_all for children of a directory.
* testsuite/experimental/filesystem/operations/create_directories.cc:
Adjust.
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/src/filesystem/ops.cc
branches/gcc-6-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc