summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdents.c
AgeCommit message (Collapse)Author
2003-02-10We need to have the size of struct dirent equal to the size of struct dirent64Eric Andersen
so when _FILE_OFFSET_BITS=64 (such that we transparently change 32bit into 64 bit interfaces), we will not lose an unsigned char from d_name which silently becomes the d_type field instead. oops. -Erik
2003-01-28Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen
and did cause segfaults) by adjusting the working scandir.c to the the 64 thing. Fix up potential for mismatches between the libc and kernel dirent structures, which could also cause ugly problems. -Erik
2001-06-27Remove obsolete files tell.c and getdents.cManuel Novoa III
2000-12-23Just define __kernel_off_t ourselves...Eric Andersen
2000-12-21This file violated policy and directly used kernel headers.Eric Andersen
This fixes it by using our own copy of the stuct in question.
2000-10-30First pass at fixing readdir by adding a getdents wrapper...Eric Andersen