diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-02-10 16:51:34 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-02-10 16:51:34 +0000 |
commit | 3df5b249b3c81e95cdcb293a388155ae5b168f9e (patch) | |
tree | 57d4e07f3983b90cecf3c27a91cfe32f0343dd72 /libstdc++-v3/src | |
parent | 313e2dc377d07d5fae5a3fd666ad7000d7e8771d (diff) | |
download | gcc-3df5b249b3c81e95cdcb293a388155ae5b168f9e.zip gcc-3df5b249b3c81e95cdcb293a388155ae5b168f9e.tar.gz gcc-3df5b249b3c81e95cdcb293a388155ae5b168f9e.tar.bz2 |
libstdc++: Re-enable workaround for _wstat64 bug [PR 88881]
This wasn't fixed upstream for mingw-w64 so we still need the
workaround.
libstdc++-v3/ChangeLog:
PR libstdc++/88881
* src/c++17/fs_ops.cc (fs::status): Re-enable workaround.
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r-- | libstdc++-v3/src/c++17/fs_ops.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libstdc++-v3/src/c++17/fs_ops.cc b/libstdc++-v3/src/c++17/fs_ops.cc index 7deb4c3..3817655 100644 --- a/libstdc++-v3/src/c++17/fs_ops.cc +++ b/libstdc++-v3/src/c++17/fs_ops.cc @@ -1462,7 +1462,6 @@ fs::status(const fs::path& p, error_code& ec) noexcept auto str = p.c_str(); #if _GLIBCXX_FILESYSTEM_IS_WINDOWS -#if ! defined __MINGW64_VERSION_MAJOR || __MINGW64_VERSION_MAJOR < 6 // stat() fails if there's a trailing slash (PR 88881) path p2; if (p.has_relative_path() && !p.has_filename()) @@ -1480,7 +1479,6 @@ fs::status(const fs::path& p, error_code& ec) noexcept str = p2.c_str(); } #endif -#endif stat_type st; if (posix::stat(str, &st)) |