gcc/libstdc++-v3/testsuite/experimental
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
..
algorithm Update copyright years. 2022-01-03 10:42:10 +01:00
any Update copyright years. 2022-01-03 10:42:10 +01:00
array Update copyright years. 2022-01-03 10:42:10 +01:00
chrono Update copyright years. 2022-01-03 10:42:10 +01:00
deque Update copyright years. 2022-01-03 10:42:10 +01:00
filesystem libstdc++: Fix error reporting in filesystem::copy [PR99290] 2022-04-28 13:33:48 +01:00
forward_list Update copyright years. 2022-01-03 10:42:10 +01:00
functional Update copyright years. 2022-01-03 10:42:10 +01:00
iterator Update copyright years. 2022-01-03 10:42:10 +01:00
list Update copyright years. 2022-01-03 10:42:10 +01:00
map Update copyright years. 2022-01-03 10:42:10 +01:00
memory Update copyright years. 2022-01-03 10:42:10 +01:00
memory_resource Update copyright years. 2022-01-03 10:42:10 +01:00
net Update copyright years. 2022-01-03 10:42:10 +01:00
numeric Update copyright years. 2022-01-03 10:42:10 +01:00
optional Update copyright years. 2022-01-03 10:42:10 +01:00
polymorphic_allocator Update copyright years. 2022-01-03 10:42:10 +01:00
propagate_const Update copyright years. 2022-01-03 10:42:10 +01:00
random Update copyright years. 2022-01-03 10:42:10 +01:00
ratio Update copyright years. 2022-01-03 10:42:10 +01:00
set Update copyright years. 2022-01-03 10:42:10 +01:00
simd Update copyright years. 2022-01-03 10:42:10 +01:00
source_location Update copyright years. 2022-01-03 10:42:10 +01:00
string Update copyright years. 2022-01-03 10:42:10 +01:00
string_view Update copyright years. 2022-01-03 10:42:10 +01:00
system_error Update copyright years. 2022-01-03 10:42:10 +01:00
tuple Update copyright years. 2022-01-03 10:42:10 +01:00
type_erased_allocator Update copyright years. 2022-01-03 10:42:10 +01:00
type_traits Update copyright years. 2022-01-03 10:42:10 +01:00
unordered_map Update copyright years. 2022-01-03 10:42:10 +01:00
unordered_set Update copyright years. 2022-01-03 10:42:10 +01:00
vector Update copyright years. 2022-01-03 10:42:10 +01:00
feat-char8_t.cc
feat-cxx14.cc
feat-lib-fund.cc
names.cc Update copyright years. 2022-01-03 10:42:10 +01:00