This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/71037] Exceptions thrown from "filesystem::canonical(...)" should contain both paths.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71037

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed May 25 15:42:57 2016
New Revision: 236714

URL: https://gcc.gnu.org/viewcvs?rev=236714&root=gcc&view=rev
Log:
libstdc++/71037 Add base path to filesystem::canonical exceptions

Backport from mainline
2016-05-10  Jonathan Wakely  <jwakely@redhat.com>

        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:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/src/filesystem/ops.cc
   
branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]