[Bug libstdc++/71320] filesystem::permissions does not respect add_perms/remove_perms
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 6 15:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71320
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 6 15:50:01 2016
New Revision: 237136
URL: https://gcc.gnu.org/viewcvs?rev=237136&root=gcc&view=rev
Log:
libstdc++/71320 Add or remove file permissions correctly
PR libstdc++/71320
* src/filesystem/ops.cc (permissions(const path&, perms, error_code&)):
Add or remove permissions according to perms argument.
* testsuite/experimental/filesystem/operations/permissions.cc: New
test.
Added:
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/src/filesystem/ops.cc
More information about the Gcc-bugs
mailing list