gcc/libstdc++-v3/testsuite/experimental/filesystem
Jonathan Wakely 4e117418fb libstdc++: Fix error reporting in filesystem::copy [PR99290]
The recursive calls to filesystem::copy should stop if any of them
reports an error.

libstdc++-v3/ChangeLog:

	PR libstdc++/99290
	* src/c++17/fs_ops.cc (fs::copy): Pass error_code to
	directory_iterator constructor, and check on each iteration.
	* src/filesystem/ops.cc (fs::copy): Likewise.
	* testsuite/27_io/filesystem/operations/copy.cc: Check for
	errors during recursion.
	* testsuite/experimental/filesystem/operations/copy.cc:
	Likewise.
2022-04-28 13:33:48 +01:00
..
file_status Update copyright years. 2022-01-03 10:42:10 +01:00
filesystem_error Update copyright years. 2022-01-03 10:42:10 +01:00
iterators libstdc++: Do not use dirent::d_type unconditionally 2022-02-02 00:01:43 +00:00
operations libstdc++: Fix error reporting in filesystem::copy [PR99290] 2022-04-28 13:33:48 +01:00
path Update copyright years. 2022-01-03 10:42:10 +01:00