libstdc++: Fix build for targets without lstat [PR 94681]
authorJonathan Wakely <jwakely@redhat.com>
Mon, 10 Aug 2020 17:58:14 +0000 (18:58 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 10 Aug 2020 18:12:12 +0000 (19:12 +0100)
commit5b065f0563262a0d6cd1fea8426913bfdd841301
treecccad81121cc99df6c047824b0c7038cfe4c27a9
parented11f7e84bcae89f486f5023e566726a7faa7dd4
libstdc++: Fix build for targets without lstat [PR 94681]

libstdc++-v3/ChangeLog:

PR libstdc++/94681
* src/c++17/fs_ops.cc (read_symlink): Use posix::lstat instead
of calling ::lstat directly.
* src/filesystem/ops.cc (read_symlink): Likewise.
libstdc++-v3/src/c++17/fs_ops.cc
libstdc++-v3/src/filesystem/ops.cc