summaryrefslogtreecommitdiff
path: root/libc/misc/mntent/mntent.c
AgeCommit message (Collapse)Author
2004-03-18Reduce memory used by static buffers and allocate that memory dynamiclyEric Andersen
instead. Based on an initial patch from Tobias Anderberg, but reworked. I asked Tobias to look into doing something more like what is done in busybox, but that proved to be a pain. One possible concern is that these buffers will probably show up as memory leaks i.e. with valgrind. Perhaps we should add in an atexit call to free this memory right after we allocate it?
2003-12-27Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III
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.
2002-06-18Fix locking. KillEric Andersen
2002-01-09Doh! I broke getmntent when I added getmntent_r! This fixes it.Eric Andersen
-Erik
2002-01-06Support statvfs and statfs. Added getmntent_r (and made it useEric Andersen
strtok_r instead of strtok), taught getmntent to use getmntent_r. -Erik
2001-09-27Update to accomodate the header file changesEric Andersen
2000-10-26Add some more stuff -- {get|set}mntent, getline, getdelim, etc.Eric Andersen