| Commit message (Expand) | Author | Age | Files | Lines |
| * | optimize ntohl etc. in terms of bswap functions•••we can do this without violating the namespace now that they are
macros/inline functions rather than extern functions. the motivation
is that gcc was generating giant, slow, horrible code for the old
functions, and now generates a single byte-swapping instruction.
| Rich Felker | 2011-04-12 | 4 | -20/+12 |
| * | workaround broken msghdr struct on 64bit linux•••POSIX clearly specifies the type of msg_iovlen and msg_controllen, and
Linux ignores it and makes them both size_t instead. to work around
this we add padding (instead of just using the wrong types like glibc
does), but we also need to patch-up the struct before passing it to
the kernel in case the caller did not zero-fill it.
if i could trust the kernel to just ignore the upper 32 bits, this
would not be necessary, but i don't think it will ignore them...
| Rich Felker | 2011-04-08 | 2 | -0/+21 |
| * | fix ipv6 address printing: 2001 appeared as 201, etc. | Rich Felker | 2011-04-08 | 1 | -3/+5 |
| * | fix broken dns response parsing code that made most ipv6 lookups fail | Rich Felker | 2011-04-08 | 1 | -4/+6 |
| * | return the requested string as the "canonical name" for numeric addresses•••previously NULL was returned in ai_canonname, resulting in crashes in
some callers. this behavior was incorrect. note however that the new
behavior differs from glibc, which performs reverse dns lookups. POSIX
is very clear that a reverse DNS lookup must not be performed for
numeric addresses.
| Rich Felker | 2011-04-08 | 1 | -0/+1 |
| * | fix uninitialized variables in dns lookup code | Rich Felker | 2011-04-07 | 1 | -2/+2 |
| * | add _res (__res_state()) dummy | Rich Felker | 2011-04-06 | 1 | -0/+9 |
| * | implement if_indextoname and if_nametoindex functions | Rich Felker | 2011-04-05 | 2 | -0/+36 |
| * | fix all implicit conversion between signed/unsigned pointers•••sadly the C language does not specify any such implicit conversion, so
this is not a matter of just fixing warnings (as gcc treats it) but
actual errors. i would like to revisit a number of these changes and
possibly revise the types used to reduce the number of casts required.
| Rich Felker | 2011-03-25 | 1 | -1/+1 |
| * | cleanup socketcall syscall interface to ease porting to sane(r) archs | Rich Felker | 2011-02-15 | 19 | -94/+17 |
| * | another pointer signedness fix | Rich Felker | 2011-02-14 | 1 | -1/+1 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 55 | -0/+1570 |