diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-07-18 19:41:52 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-07-18 19:47:46 -0400 |
commit | eeff60608c7aa65806c7c9f0ebddcf2520684ffa (patch) | |
tree | f8632785fb8ebefa892f15fe1e05b02091de6b07 /src/stdio/fread.c | |
parent | fa7d4218c7038cb4bd29cbdf693306118b324030 (diff) | |
download | musl-eeff60608c7aa65806c7c9f0ebddcf2520684ffa.tar.gz |
restore property that fstat(AT_FDCWD) fails with EBADF
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.
Diffstat (limited to 'src/stdio/fread.c')
0 files changed, 0 insertions, 0 deletions