summaryrefslogtreecommitdiffstats
path: root/libc/misc/dirent/readdir.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen2003-01-281-3/+1
| | | | | | | | 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
* Fixup totally broken locking code... No storage for the mutex,Eric Andersen2002-05-301-4/+4
| | | | | wrong ifdef macro.. -Erik
* Implement readdir_r. Audit for proper thread safety and locking.Eric Andersen2002-05-111-30/+24
| | | | -Erik
* ANSI/ISO specifies that no library function sets errno to 0.Manuel Novoa III2001-06-261-2/+0
|
* Looks like we lost clearing errnoEric Andersen2001-06-261-0/+2
|
* Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III2001-06-251-11/+1
| | | | the straight getdents syscall instead of the wrapper (which leaked memory).
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-061-3/+3
| | | | | | | This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
* Move the dirent stuff. I suppose it is system dependant, but thenEric Andersen2001-03-191-0/+69
it really should be grouped together too. And it needed to be grouped more then it needed to be in sysdeps/linux/common