diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-30 02:31:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-30 02:31:19 +0000 |
commit | 31df0ab098442ccd9fdc7571b624d26137361089 (patch) | |
tree | 42ba3b6bf7f7cf1f4c8e8009f711a0e1397e58d6 /sysdeps/unix/sysv | |
parent | 598d7a425644545bb0fc65bd747e7d4c6e95c4a1 (diff) | |
download | glibc-31df0ab098442ccd9fdc7571b624d26137361089.tar glibc-31df0ab098442ccd9fdc7571b624d26137361089.tar.gz glibc-31df0ab098442ccd9fdc7571b624d26137361089.tar.bz2 glibc-31df0ab098442ccd9fdc7571b624d26137361089.zip |
Update.
2002-12-24 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
checking of return value ENOSYS from getdents64.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/getdents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/getdents.c b/sysdeps/unix/sysv/linux/getdents.c index daef5a518c..2e6b485047 100644 --- a/sysdeps/unix/sysv/linux/getdents.c +++ b/sysdeps/unix/sysv/linux/getdents.c @@ -126,7 +126,7 @@ __GETDENTS (int fd, char *buf, size_t nbytes) retval = INLINE_SYSCALL (getdents64, 3, fd, CHECK_N(kbuf, kbytes), kbytes); # ifndef __ASSUME_GETDENTS64_SYSCALL - if (retval != -1 || errno != EINVAL) + if (retval != -1 || (errno != EINVAL && errno != ENOSYS)) # endif { const size_t size_diff = (offsetof (struct kernel_dirent64, d_name) |