summaryrefslogtreecommitdiffstats
path: root/libc/inet/getservice.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-181-14/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24165Carmelo Amoroso2008-11-271-10/+10
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24087Carmelo Amoroso2008-11-181-2/+2
| | | | Step 10: libc_hidden_removal
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-30/+27
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge from trunk. Going pretty good so far. Kind of. Okay, not really."Steven J. Hill"2006-02-251-31/+39
|
* Merge from trunk."Steven J. Hill"2006-01-141-0/+1
|
* Merge from trunk."Steven J. Hill"2005-12-101-0/+2
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-061-47/+48
|
* Merge from trunk. More to come you betcha'."Steven J. Hill"2005-12-021-4/+5
|
* Change the global 'buf' to 'servbuf' since some functions in here useEric Andersen2004-05-071-7/+7
| | | | a local named 'buf' and we want to avoid shadowing that.
* Reduce memory used by static buffers and allocate that memory dynamiclyEric Andersen2004-03-181-4/+20
| | | | | | | | | | 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 really dumb bug introduced in version 1.4 of this file (a patch for ipv6Eric Andersen2003-12-281-1/+3
| | | | | | | | | support) which could cause things like EOF and read errors while reading /etc/services to always return a TRY_AGAIN. The perl test suite would alloc a larger buffer and try again until all memory was exhausted. When we get a read error, or EOF, it means we didn't get what we wanted, and so we should return an error. Doing so fixes the failing perl 5.8.2 test. -Erik
* Fix whitespaceEric Andersen2003-12-281-5/+5
|
* 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-114/+143
| | | | -Erik
* Bart Visscher <magick@Linux-Fan.com> has added some missing IPV6 support, andEric Andersen2002-03-191-24/+74
| | | | | added several additional reentrant networking functions such that iptables now runs with IPV6 support.
* 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>
* Update networking includes.Eric Andersen2001-02-051-0/+2
|
* Add in getprotobyname, getservicebyname, and related junkEric Andersen2000-10-271-0/+176