The fix for PR 88881 only added a workaround to filesystem::status, but filesystem::symlink_status is also affected by the _wstat bug and needs the same workaround. The recent change to optimize path::parent_path() means that the workaround can be simplified to just use parent_path(). PR libstdc++/88881 * src/c++17/fs_ops.cc [_GLIBCXX_FILESYSTEM_IS_WINDOWS] (status(const path&, error_code&)): Use parent_path() to remove trailing slash. (symlink_status(const path&, error_code&)): Duplicate workaround for bug in _wstat for paths with trailing slash. * testsuite/27_io/filesystem/operations/remove_all.cc: Check path with trailing slash. * testsuite/27_io/filesystem/operations/status.cc: Likewise. * testsuite/27_io/filesystem/operations/symlink_status.cc: Likewise. From-SVN: r271755
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
basic_filebuf | Loading commit data... | |
basic_fstream | Loading commit data... | |
basic_ifstream | Loading commit data... | |
basic_ios | Loading commit data... | |
basic_iostream | Loading commit data... | |
basic_istream | Loading commit data... | |
basic_istringstream | Loading commit data... | |
basic_ofstream | Loading commit data... | |
basic_ostream | Loading commit data... | |
basic_ostringstream | Loading commit data... | |
basic_streambuf | Loading commit data... | |
basic_stringbuf | Loading commit data... | |
basic_stringstream | Loading commit data... | |
filesystem | Loading commit data... | |
fpos | Loading commit data... | |
headers | Loading commit data... | |
ios_base | Loading commit data... | |
manipulators | Loading commit data... | |
objects | Loading commit data... | |
types | Loading commit data... | |
rvalue_streams-2.cc | Loading commit data... | |
rvalue_streams.cc | Loading commit data... |