This is the mail archive of the glibc-cvs@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libc/sysdeps/unix/sysv/linux getdents.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]