gcc/libstdc++-v3/testsuite
Jonathan Wakely 388058dd06 PR libstdc++/83626 handle ENOENT due to filesystem race
PR libstdc++/83626
	* src/filesystem/ops.cc (remove(const path&, error_code&)): Do not
	report an error for ENOENT.
	(remove_all(const path&)): Fix type of result variable.
	(remove_all(const path&, error_code&)): Use non-throwing increment
	for directory iterator. Call POSIX remove directly to avoid redundant
	calls to symlink_status. Do not report errors for ENOENT.
	* src/filesystem/std-ops.cc: Likewise.
	* testsuite/27_io/filesystem/operations/remove_all.cc: Test throwing
	overload.
	* testsuite/experimental/filesystem/operations/remove_all.cc:
	Likewise.

From-SVN: r256283
2018-01-05 18:02:18 +00:00
..
17_intro Update copyright years. 2018-01-03 11:03:58 +01:00
18_support Update copyright years. 2018-01-03 11:03:58 +01:00
19_diagnostics Update copyright years. 2018-01-03 11:03:58 +01:00
20_util PR libstdc++/83607 specialize Boyer-Moore searchers for std::byte 2018-01-04 10:21:29 +00:00
21_strings Update copyright years. 2018-01-03 11:03:58 +01:00
22_locale Update copyright years. 2018-01-03 11:03:58 +01:00
23_containers Update copyright years. 2018-01-03 11:03:58 +01:00
24_iterators Update copyright years. 2018-01-03 11:03:58 +01:00
25_algorithms Update copyright years. 2018-01-03 11:03:58 +01:00
26_numerics Update copyright years. 2018-01-03 11:03:58 +01:00
27_io PR libstdc++/83626 handle ENOENT due to filesystem race 2018-01-05 18:02:18 +00:00
28_regex Update copyright years. 2018-01-03 11:03:58 +01:00
29_atomics Update copyright years. 2018-01-03 11:03:58 +01:00
30_threads Update copyright years. 2018-01-03 11:03:58 +01:00
abi Update copyright years. 2018-01-03 11:03:58 +01:00
backward Update copyright years. 2018-01-03 11:03:58 +01:00
config Update copyright years. 2018-01-03 11:03:58 +01:00
data
decimal Update copyright years. 2018-01-03 11:03:58 +01:00
experimental PR libstdc++/83626 handle ENOENT due to filesystem race 2018-01-05 18:02:18 +00:00
ext Update copyright years. 2018-01-03 11:03:58 +01:00
lib Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-abi Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-dg Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-prettyprinters Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-xmethods Update copyright years. 2018-01-03 11:03:58 +01:00
performance Update copyright years. 2018-01-03 11:03:58 +01:00
special_functions Update copyright years. 2018-01-03 11:03:58 +01:00
tr1 Update copyright years. 2018-01-03 11:03:58 +01:00
tr2 Update copyright years. 2018-01-03 11:03:58 +01:00
util Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.am Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.in Enable building libstdc++-v3 with Intel CET 2017-11-17 22:28:10 +01:00