diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-25 03:20:02 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-25 03:20:02 -0400 |
commit | 1cd417bdf10366d63cc875e285c6418709a58c17 (patch) | |
tree | 232d9d35ba1da858c6da35e9513eb6cd3ce4361e /crt/Scrt1.c | |
parent | do not include math modules in the default -O3 optimization set (diff) | |
download | grovel-1cd417bdf10366d63cc875e285c6418709a58c17.tar.gz grovel-1cd417bdf10366d63cc875e285c6418709a58c17.tar.xz |
make inet_ntop format v4-mapped ipv6 addresses properly
based on a patch by orc. POSIX actually fails to specify the format of
the ntop conversion; presumably, any output that will correctly
round-trip back via the (well-specified) pton operation is acceptable.
the new behavior is much more convenient than the old, however.
this patch also affects getnameinfo, which is implemented in terms of
inet_ntop and which is the preferred interface for performing this
conversion.
I've also removed some inexplicable cruft (filling the buffer with 'x'
before doing anything) whose origin I was unable to track down.
Diffstat (limited to 'crt/Scrt1.c')
0 files changed, 0 insertions, 0 deletions