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>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-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: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-7/+7
| | | | | Appears to build fine (several .configs tried)
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-181-2/+2
|
* libc/inet/addr.c: fix broked indentation and bad style. No code changes.Denis Vlasenko2008-06-021-12/+12
|
* - Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer2008-05-301-1/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* reinstate external visibility of inet_ntoa_r,Denis Vlasenko2008-04-251-1/+3
| | | | | and add it to arpa/inet.h header.
* Functions should be either exported in public .h filesDenis Vlasenko2008-04-121-4/+1
| | | | | | | | | | | | | and marked with libc_hidden_proto/def(), or not be exported in .h files and be hidden (or even static if possible). We have five functions which violate this. Fixing: netdb.h: export ruserpass() rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply() make inet_ntoa_r static function (it is not exported in any .h file) make _time_tzset hidden function (it is not exported in any .h file)
* Ronald Maeder writes:Eric Andersen2007-02-021-0/+4
| | | | | | I have successfully made gethostbyname_r(), res_init(), and gethostid() fully reentrant. In addition, I have added a NULL check to inet_aton(). This is where SEG FAULTs were coming from when gethostbyname_r() was called.
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-221-1/+1
|
* Update copyrightPeter S. Mazinger2006-03-011-2/+3
|
* Remove duplicate includePeter S. Mazinger2006-03-011-1/+0
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-1/+0
| | | | is a useless attempt
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-0/+5
| | | | gone from libc. The remaining are left as exercise for others ;-)
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-6/+8
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-18/+27
| | | | missing headers, other jump relocs removed
* Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵Peter S. Mazinger2005-12-161-3/+0
| | | | was indeed a badly chosen name
* Again rpc ;-( , all *inet*, *addr*Peter S. Mazinger2005-12-081-12/+15
|
* _uintmaxtostr is only internally used, we do not need a rename, ↵Peter S. Mazinger2005-12-031-1/+0
| | | | uClibc_uintmaxtostr.h is only internal header, remove from target
* Hide mostly used functionsPeter S. Mazinger2005-12-011-1/+2
|
* Hide some of mem* and str*Peter S. Mazinger2005-11-271-0/+4
|
* 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