diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-11-28 15:36:56 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-11-28 15:36:56 +0000 |
commit | bd6ccc290a624a54f779054205cbfabb4e33a0aa (patch) | |
tree | 711247549173e2042ffb21ff6a4bc11eeb148afb /gcc | |
parent | 24d9b090fb4b9a260fedb4489392ebd509e93202 (diff) | |
download | gcc-bd6ccc290a624a54f779054205cbfabb4e33a0aa.zip gcc-bd6ccc290a624a54f779054205cbfabb4e33a0aa.tar.gz gcc-bd6ccc290a624a54f779054205cbfabb4e33a0aa.tar.bz2 |
Apply resolution for LWG DR 3096
Add fix for "path::lexically_relative is confused by trailing slashes".
* doc/xml/manual/intro.xml: Document LWG 3096 change.
* src/filesystem/std-path.cc (path::lexically_relative(const path&)):
Treat a final empty element equivalently to a final dot element.
* testsuite/27_io/filesystem/path/generation/relative.cc: Add checks
for the examples in the DR.
From-SVN: r266566
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions