Fix filesystem::equivalent for mingw
authorJonathan Wakely <jwakely@redhat.com>
Thu, 17 Jan 2019 15:32:10 +0000 (15:32 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 17 Jan 2019 15:32:10 +0000 (15:32 +0000)
commit16d46c7bfda76b5b3e88a2d9a809aacdc3ed8e1a
treeba4d252d5301e19425e9c6a71185ca7b60392f3c
parentfc6f857bd30bd678323783a595fc132769cdc659
Fix filesystem::equivalent for mingw

* src/c++17/fs_ops.cc
(equivalent(const path&, const path&, error_code&))
[_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Use GetFileInformationByHandle to
compare files instead of relying on incomplete info returned by stat.

From-SVN: r268036
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++17/fs_ops.cc