r266566 - in /trunk/libstdc++-v3: ChangeLog doc...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Nov 28 15:36:00 GMT 2018


Author: redi
Date: Wed Nov 28 15:36:56 2018
New Revision: 266566

URL: https://gcc.gnu.org/viewcvs?rev=266566&root=gcc&view=rev
Log:
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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/doc/xml/manual/intro.xml
    trunk/libstdc++-v3/src/filesystem/std-path.cc
    trunk/libstdc++-v3/testsuite/27_io/filesystem/path/generation/relative.cc



More information about the Libstdc++-cvs mailing list