restore property that fstat(AT_FDCWD) fails with EBADF
authorRich Felker <dalias@aerifal.cx>
Thu, 18 Jul 2019 23:41:52 +0000 (19:41 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 18 Jul 2019 23:47:46 +0000 (19:47 -0400)
AT_FDCWD is not a valid file descriptor, so POSIX requires fstat to
fail with EBADF. if passed to fstatat, the call would spuriously
succeed and return results for the working directory.


No differences found