Re: realpath can set errno on success

2021-01-18 Thread Jerry James
On Mon, Jan 18, 2021 at 2:10 PM Jerry James wrote: > We recently had a build failure on Fedora that was traced back to > realpath() returning non-NULL AND setting errno to EINVAL. The glibc > maintainers say: > > "In general, POSIX specifies that errno only has a valid value after > an

realpath can set errno on success

2021-01-18 Thread Jerry James
Hi Camm, We recently had a build failure on Fedora that was traced back to realpath() returning non-NULL AND setting errno to EINVAL. The glibc maintainers say: "In general, POSIX specifies that errno only has a valid value after an unsuccessful function call. glibc follows this policy." In