[PATCH v1.1] realpath: Bring back GNU extension on ENOENT and EACCES [BZ #28996]
Andreas Schwab
schwab@linux-m68k.org
Thu Mar 31 14:44:37 GMT 2022
On Mär 30 2022, Siddhesh Poyarekar via Libc-alpha wrote:
> 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.
Ok.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list