aboutsummaryrefslogtreecommitdiff
path: root/stdlib/groupingwc.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2022-03-31 22:00:58 +0530
committerFlorian Weimer <fweimer@redhat.com>2025-01-20 15:19:26 +0100
commit5eae2754008650e411fa9d2ddc731dcd62983c75 (patch)
tree4e4ffa510ae805536db208f8d5b907e8ee38a1c1 /stdlib/groupingwc.c
parent8a82a76a428dd9cba592103fbe0bc0dc556ad68b (diff)
downloadglibc-5eae2754008650e411fa9d2ddc731dcd62983c75.zip
glibc-5eae2754008650e411fa9d2ddc731dcd62983c75.tar.gz
glibc-5eae2754008650e411fa9d2ddc731dcd62983c75.tar.bz2
realpath: Bring back GNU extension on ENOENT and EACCES [BZ #28996]
The GNU extension for realpath states that if the path resolution fails with ENOENT or EACCES and the resolved buffer is non-NULL, it will contain part of the path that failed resolution. commit 949ad78a189194048df8a253bb31d1d11d919044 broke this when it omitted the copy on failure. Bring it back partially to continue supporting this GNU extension. Resolves: BZ #28996 Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: Andreas Schwab <schwab@linux-m68k.org> (cherry picked from commit b416555431b47a21a855f225c6f5368ae4e4d56c)
Diffstat (limited to 'stdlib/groupingwc.c')
0 files changed, 0 insertions, 0 deletions