-
- Downloads
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. From-SVN: r271527
Showing
- libstdc++-v3/ChangeLog 8 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/src/c++17/fs_path.cc 2 additions, 2 deletionslibstdc++-v3/src/c++17/fs_path.cc
- libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc 15 additions, 0 deletionslibstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc
- libstdc++-v3/testsuite/util/testsuite_fs.h 8 additions, 2 deletionslibstdc++-v3/testsuite/util/testsuite_fs.h
Loading
Please register or sign in to comment