gcc/libstdc++-v3/testsuite/27_io/filesystem
Jonathan Wakely e11c487111 PR libstdc++/91012 fixfilesystem_error::what() string
When I refactored the filesystem_error code I changed it to only use the
constructor parameter in the what() string, instead of the string
returned by system_error::what(). That meant it no longer included the
description of the error_code that system_error adds. This restores the
previous behaivour, as encouraged by the standard ("Implementations
should include the system_error::what() string and the pathnames of
path1 and path2 in the native format in the returned string").

	PR libstdc++/91012
	* src/c++17/fs_path.cc (filesystem_error::_Impl): Use a string_view
	for the what_arg parameters.
	(filesystem_error::filesystem_error): Pass system_error::what() to
	the _Impl constructor.
	* testsuite/27_io/filesystem/filesystem_error/cons.cc: Ensure that
	filesystem_error::what() contains system_error::what().

From-SVN: r272739
2019-06-27 10:42:39 +01:00
..
directory_entry PR libstdc++/86756 Move rest of std::filesystem to libstdc++.so 2019-01-06 22:34:37 +00:00
file_status PR libstdc++/86756 Move rest of std::filesystem to libstdc++.so 2019-01-06 22:34:37 +00:00
filesystem_error PR libstdc++/91012 fixfilesystem_error::what() string 2019-06-27 10:42:39 +01:00
iterators [testsuite,libstdc++-v3] Fix 27_io/filesystem/iterators/caching.cc 2019-04-08 09:17:30 +02:00
operations PR libstdc++/88881 fix filesystem::symlink_status for Windows 2019-05-29 23:00:53 +01:00
path PR libstdc++/90281 Fix string conversions for filesystem::path 2019-06-17 15:19:04 +01:00