summaryrefslogtreecommitdiffstats
path: root/libc/misc/dirent/closedir.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-2/+2
| | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
* 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-0/+6
| | | | -Erik
* Scrub up some lingering problems preventing readdir64 from workingEric Andersen2001-11-141-0/+1
| | | | | | and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-061-2/+2
| | | | | | | 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/+26
it really should be grouped together too. And it needed to be grouped more then it needed to be in sysdeps/linux/common