[Bug libstdc++/71038] copy_file(...) returns false on successful copy.
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 10 15:39:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71038
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue May 10 15:39:14 2016
New Revision: 236084
URL: https://gcc.gnu.org/viewcvs?rev=236084&root=gcc&view=rev
Log:
libstdc++/71038 fix error checks in filesystem::copy_file
PR libstdc++/71038
* src/filesystem/ops.cc (do_copy_file): Fix backwards conditions.
* testsuite/experimental/filesystem/operations/copy_file.cc: New test.
Added:
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/src/filesystem/ops.cc
More information about the Gcc-bugs
mailing list