mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
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.
This commit is contained in:
parent
598d7a4256
commit
31df0ab098
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2002-12-28 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user