]> git.ipfire.org Git - thirdparty/gcc.git/commit
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)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 18:07:56 +0000 (15:07 -0300)
commit753f39b848cb91d587fa13600f32e0673c416cc7
treed58193a5337f92b60c49f5d9d6e4e6dddee1b37a
parentcd92527c2e7cdf7594d6b3b48dd77017888b04f0
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