This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/79283] read_symlink fails with /proc symlinks


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79283

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Jan  5 21:27:20 2018
New Revision: 256286

URL: https://gcc.gnu.org/viewcvs?rev=256286&root=gcc&view=rev
Log:
PR libstdc++/79283 fix filesystem::read_symlink for /proc

Backport from mainline
2017-10-25  Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/79283
        * src/filesystem/ops.cc (read_symlink): Handle st_size being zero.

Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/src/filesystem/ops.cc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]