https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67173
Bug ID: 67173
Summary: experimental/filesystem/operations/current_path.cc
FAILs
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: redi at gcc dot gnu.org
Target Milestone: ---
Host: *-*-solaris2.10
Target: *-*-solaris2.10
Build: *-*-solaris2.10
Sometime between 20150724 (r226149) and 20150731 (r226440),
experimental/filesystem/operations/current_path.cc started to FAIL on Solaris
10
only (Solaris 11 is still fine):
terminate called after throwing an instance of
'std::experimental::filesystem::v1::__cxx11::filesystem_error'
what(): filesystem error: cannot canonicalize: Invalid argument [/tmp]
Abort
I suspect this is due to this change:
2015-07-30 Jonathan Wakely <[email protected]>
* testsuite/experimental/filesystem/operations/current_path.cc: Use
canonical paths for comparisons.
Rainer