summaryrefslogtreecommitdiffstats
path: root/libc/inet/getnetent.c
Commit message (Collapse)AuthorAgeFilesLines
* Add missing include.Manuel Novoa III2004-05-071-0/+1
|
* Reduce memory used by static buffers and allocate that memory dynamiclyEric Andersen2004-03-181-2/+9
| | | | | | | | | | 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?
* 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.
* Make things more re-entrany, kill some cruft.Eric Andersen2002-06-171-72/+88
| | | | -Erik
* Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and addEric Andersen2001-11-211-1/+1
| | | | | support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
* Silence a few warnings.Eric Andersen2001-06-121-0/+2
|
* Add some missing network functionality; grabbed from libc-5.3.12.Manuel Novoa III2001-03-121-0/+116