45 Commits (3d3903fa5bd18f66c4f22fb766615d84b9519aa0)

Author SHA1 Message Date
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
Rich Felker fc0ecd35d8 implement if_nameindex and if_freenameindex 15 years ago
Rich Felker 88798393ca fix wrong messages in gai_strerror 15 years ago
Rich Felker f4e8e64b82 port numbers should always be interpreted as decimal 15 years ago
Rich Felker c3c5e88c31 "implement" getnetbyaddr and getnetbyname 15 years ago
Rich Felker e936e4612f res_search symbol, aliased to res_query for now (better than nothing) 15 years ago
Rich Felker 3486365e95 fix bug in ipv6 parsing that prevented parsing a lone "::" 15 years ago
Rich Felker 34d81974d3 ipv6 parsing code (formerly dummied-out) 15 years ago
Rich Felker 31f014e0a7 fix bogus return values for inet_pton 15 years ago
Rich Felker f1ac8a28d8 disallow blank strings as service or host name 15 years ago
Rich Felker d4b5d6e981 fix bugs in ipv4 parsing 15 years ago
Rich Felker 43ee4df338 dns lookups: protect against cancellation and fix incorrect error codes 15 years ago
Rich Felker feee98903c overhaul pthread cancellation 15 years ago
Rich Felker c89862660b optimize ntohl etc. in terms of bswap functions 15 years ago
Rich Felker 7168790763 workaround broken msghdr struct on 64bit linux 15 years ago
Rich Felker 5b8d81f706 fix ipv6 address printing: 2001 appeared as 201, etc. 15 years ago
Rich Felker d104c1f7e2 fix broken dns response parsing code that made most ipv6 lookups fail 15 years ago
Rich Felker e2cc0bee11 return the requested string as the "canonical name" for numeric addresses 15 years ago
Rich Felker d4fbebe18d fix uninitialized variables in dns lookup code 15 years ago
Rich Felker 97d0988fd8 add _res (__res_state()) dummy 15 years ago
Rich Felker 92b2eb8d03 implement if_indextoname and if_nametoindex functions 15 years ago
Rich Felker 9ae8d5fc71 fix all implicit conversion between signed/unsigned pointers 15 years ago
Rich Felker 03a2f3e48c cleanup socketcall syscall interface to ease porting to sane(r) archs 15 years ago
Rich Felker 6fbf8bfd75 another pointer signedness fix 15 years ago
Rich Felker 0b44a0315b initial check-in, version 0.5.0 15 years ago