This is the mail archive of the
glibc-cvs@sourceware.cygnus.com
mailing list for the glibc project.
libc/sysdeps/unix/sysv/linux getdents.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/sysdeps/unix/sysv/linux getdents.c
- From: drepper at sourceware dot cygnus dot com
- Date: 7 Apr 2000 06:51:33 -0000
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2-1-branch
Changes by: drepper@sourceware.cygnus.com 00/04/06 23:51:33
Modified files:
sysdeps/unix/sysv/linux: getdents.c
Log message:
(__getdents): The Linux kernel does not allow relative seeks on descriptors
associated with directories. Go back to get the position in the directory
every time we enter the function. Return -1 and set errno if one entry could
be read from the kernel but does not fit into the buffer passed in by the user.