r271527 - in /trunk/libstdc++-v3: ChangeLog src...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed May 22 22:14:00 GMT 2019


Author: redi
Date: Wed May 22 22:14:34 2019
New Revision: 271527

URL: https://gcc.gnu.org/viewcvs?rev=271527&root=gcc&view=rev
Log:
PR libstdc++/90557 fix path assignment that alters source

	PR libstdc++/90557
	* src/c++17/fs_path.cc (path::_List::operator=(const _List&)): Fix
	reversed arguments to uninitialized_copy_n.
	* testsuite/27_io/filesystem/path/assign/copy.cc: Check that source
	is unchanged by copy assignment.
	* testsuite/util/testsuite_fs.h (compare_paths): Use std::equal to
	compare path components.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/c++17/fs_path.cc
    trunk/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc
    trunk/libstdc++-v3/testsuite/util/testsuite_fs.h



More information about the Libstdc++-cvs mailing list