summaryrefslogtreecommitdiffstats
path: root/libc/inet/addr.c
Commit message (Collapse)AuthorAgeFilesLines
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-3/+0
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-181-10/+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-7/+7
| | | | | 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-13/+16
| | | | 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 and bring in NPTL changes."Steven J. Hill"2006-08-231-4/+4
|
* Merge from trunk. Going pretty good so far. Kind of. Okay, not really."Steven J. Hill"2006-02-251-19/+34
|
* Merge from trunk."Steven J. Hill"2006-01-141-3/+0
|
* Merge from trunk."Steven J. Hill"2005-12-101-12/+15
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-061-1/+0
|
* Merge from trunk. More to come you betcha'."Steven J. Hill"2005-12-021-1/+6
|
* Document more things inet_aton() 'should' support but actually doesn't.Mike Frysinger2005-01-061-22/+38
| | | | | Most of the time, no one ever notices, so there's not point eh ? Also standardize tab usage.
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-111-1/+2
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Atsushi Nemoto writes:Eric Andersen2003-10-081-11/+11
| | | | | | | | | | | | | I found inappropriate data types are used in some places in networking codes. * tcp_seq is 32bit (u_long -> u_int32_t) * in_addt_t should be used for internet address (unsigned long -> in_addr_t) * socklen_t should be used for accept() This is a patch against uclibc-0.9.21 (can be applied for current CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I believe this patch does not harm any 32bit platforms.
* Update inet_aton() to support an undocumented feature of inet_aton,Eric Andersen2003-08-041-7/+13
| | | | | | | | per UNIX Network Programming, Volume 1, second edition: An undocumented feature of inet_aton is that if addrptr is a null pointer, the function still performs it validation of the input string, but does not store the result.
* Fix a memory corruption bug.David McCullough2002-09-171-3/+6
| | | | | | With gcc, sizeof on a sized array argument to a function returns 4, not 16 as was expected in this code. This caused inet_ntoa to overwrite whatever came before the buffer in the BSS by up to 12 bytes.
* Cleanup namespace leaks by prepending __ to global stuff toEric Andersen2002-07-071-8/+4
| | | | | indicate it is (alledgedly) private. -Erik
* Make things more re-entrany, kill some cruft.Eric Andersen2002-06-171-5/+7
| | | | -Erik
* Swap in the new stdio code.Manuel Novoa III2002-03-121-10/+7
|
* Add in support for inet_netof, inet_lnaof, inet_makeaddr and hstrerror.David McCullough2002-01-171-0/+66
|
* Steven Carr noticed that uClibc's inet_aton() is stricter then inEric Andersen2001-12-201-1/+7
| | | | | | | | glibc, since no trailing blanks was permitted, such that inet_aton("192.168.1.1 ",&value); would work with glibc, and fail with uClibc. This brings uClibc's inet_aton() behavior into sync with glibc's behavior. -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>
* Update networking includes.Eric Andersen2001-02-051-0/+2
|
* A number of updates from Manuel Novoa III. Things look good...Eric Andersen2000-12-201-11/+33
|
* Bug ugly formatting updateEric Andersen2000-10-091-55/+53
|
* Lots and lots of cleanups.Eric Andersen2000-07-061-0/+1
| | | | -Erik
* Initial revision0_9_1Erik Andersen2000-05-141-0/+85