fix getaddrinfo to accept port 0 (zero)
authorRich Felker <dalias@aerifal.cx>
Sat, 22 Sep 2012 20:19:06 +0000 (16:19 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 22 Sep 2012 20:19:06 +0000 (16:19 -0400)
new behavior can be summarized as:
inputs that parse completely as a decimal number are treated as one,
and rejected only if the result is out of 16-bit range.
inputs that do not parse as a decimal number (where strtoul leaves
anything left over in the input) are searched in /etc/services.


No differences found