https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71337
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Oct 24 16:45:51 2016 New Revision: 241487 URL: https://gcc.gnu.org/viewcvs?rev=241487&root=gcc&view=rev Log: PR71337 fix filesystem::temp_directory_path error handling PR libstdc++/71337 * src/filesystem/ops.cc (temp_directory_path): Pass error_code argument to other filesystem operations. * testsuite/experimental/filesystem/operations/temp_directory_path.cc: Add testcase for inaccessible directory. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/src/filesystem/ops.cc trunk/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc