174 Commits (c8798ef974d21c338a7d8d874a402978ffc6168e)

Author SHA1 Message Date
Rich Felker ceb0ed9cf9 fix fd leak (missing close-on-exec) in getifaddrs 13 years ago
Rich Felker 7b5beabceb fix regression in inet_aton due to misinterpretation of __ipparse return 13 years ago
Szabolcs Nagy 78f8891531 fix inet_pton 13 years ago
Szabolcs Nagy 51c4e451db fix __ipparse to parse the generic numbers-and-dots IPv4 format correctly 13 years ago
Szabolcs Nagy 59b8dc08f7 fix inet_aton to accept the generic "numbers-and-dots" IPv4 address format 13 years ago
Rich Felker bb93ac3358 split inet_addr and inet_ntoa back into their own files 13 years ago
Rich Felker 38b9c02749 fix return value for inet_pton in ipv6 failure cases 13 years ago
Rich Felker 7211551e9f fix regression in dn_expand/reverse dns 13 years ago
Rich Felker 56b57f37a4 fix length computation in dn_expand 13 years ago
Rich Felker fcc522c923 de-duplicate dn_expand, fix return value and signature, clean up 13 years ago
Rich Felker f9dd79c8d1 fix undefined strcpy call in inet_ntop 13 years ago
Rich Felker 1cd417bdf1 make inet_ntop format v4-mapped ipv6 addresses properly 13 years ago
Rich Felker f5dfb45f78 make getaddrinfo with AF_UNSPEC and null host return both IPv4 and v6 13 years ago
Rich Felker 0716b10ac8 fix missing SOCK_CLOEXEC in various functions that use sockets internally 13 years ago
Rich Felker fbcd82040c add stubs for additional legacy ether.h functions 13 years ago
Rich Felker e40f48a421 implement inet_lnaof, inet_netof, and inet_makeaddr 13 years ago
Rich Felker 83966b369d add ether_aton[_r] and ether_ntoa[_r] functions 13 years ago
rofl0r 9947ed5c20 getifaddrs: implement proper ipv6 netmasks 13 years ago
rofl0r 338cc31c4b getifaddrs: remove unused label 13 years ago
rofl0r 4af3ea789a getifaddrs: use if_nameindex to enumerate interfaces 13 years ago
rofl0r 69a1983872 getifaddrs: one less indent level 13 years ago
rofl0r c82f53f67c getifaddrs: less malloc 13 years ago
rofl0r 202db37a6f add getifaddrs 13 years ago
Rich Felker b6f9941201 implement dn_skipname (legacy resolver function) 13 years ago
Rich Felker a47ad3ebce dynamically allocate storage for gethostby* buffers 13 years ago
Rich Felker c0193550a0 fix blank ai_canonname from getaddrinfo for non-CNAMEs 13 years ago
Rich Felker b0302863a3 fix memory leak due to double call to getaddrinfo in gethostbyname* 13 years ago
Rich Felker 70b584bc94 fix error returns in gethostby*_r functions 13 years ago
rofl0r 36d7303878 add inet_network (required for wine) 14 years ago
Rich Felker e8a0b27a71 improve SOCK_NONBLOCK/SOCK_CLOEXEC fallback code 14 years ago
Rich Felker f2d08cf755 fix some more O_CLOEXEC/SOCK_CLOEXEC issues 14 years ago
Rich Felker dc62790dee move accept4, dup3, and pipe2 to non-linux-specific locations 14 years ago
Rich Felker 79a5e73e51 emulate SOCK_CLOEXEC and SOCK_NONBLOCK for old (pre-2.6.27) kernels 14 years ago
Rich Felker 4b49060da0 fix getaddrinfo to accept port 0 (zero) 14 years ago
Rich Felker 400c5e5c83 use restrict everywhere it's required by c99 and/or posix 2008 14 years ago
Rich Felker 845a5e69fa remove scanf dependency from getaddrinfo /etc/services support 14 years ago
Rich Felker efe72c5619 getaddrinfo /etc/services lookup support 14 years ago
Rich Felker 75fff40b9b make getservby*_r return error code rather than -1 (and using errno) 14 years ago
Rich Felker 68c5822367 fix logic error for skipping failed interfaces in if_nameindex 14 years ago
Rich Felker 06650b9684 fix getservby*() with null pointer for protocol argument 14 years ago
Rich Felker 96107564e2 workaround another sendmsg kernel bug on 64-bit machines 14 years ago
Rich Felker 01e94c4623 fix misplaced semicolon in preprocessor directive (#undef h_errno) 14 years ago
Rich Felker e68c51ac46 use __h_errno_location for h_errno 14 years ago
Rich Felker 4f346b08b3 improve name lookup performance in corner cases 14 years ago
Rich Felker 56ddcc7208 fix for previous incorrect fix of cancellation in dns lookups 14 years ago
Rich Felker 88d84b7cc8 fix default nameserver when resolv.conf doesn't exist 14 years ago
Rich Felker f42bad9ccb fix illegal goto out of cleanup context in dns lookups 14 years ago
Rich Felker 12d547b262 make dns lookups (and thus getaddrinfo) cancellable 15 years ago
Rich Felker bf027ca5e0 use poll rather than select in dns lookups (also clock_gettime) 15 years ago
Rich Felker 28af39fe42 remove some stray trailing space characters 15 years ago