This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/71037] Exceptions thrown from "filesystem::canonical(...)" should contain both paths.
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 May 2016 12:23:03 +0000
- Subject: [Bug libstdc++/71037] Exceptions thrown from "filesystem::canonical(...)" should contain both paths.
- Auto-submitted: auto-generated
- References: <bug-71037-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71037
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue May 10 12:22:32 2016
New Revision: 236074
URL: https://gcc.gnu.org/viewcvs?rev=236074&root=gcc&view=rev
Log:
libstdc++/71037 Add base path to filesystem::canonical exceptions
PR libstdc++/71037
* src/filesystem/ops.cc (canonical(const path&, const path&)): Add
base path to exception.
* testsuite/experimental/filesystem/operations/canonical.cc: Test
paths contained in exception.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/src/filesystem/ops.cc
trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc