aboutsummaryrefslogtreecommitdiff
path: root/src/network/getaddrinfo.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* port numbers should always be interpreted as decimal•••per POSIX and RFC 3493: If the specified address family is AF_INET, AF_INET6, or AF_UNSPEC, the service can be specified as a string specifying a decimal port number. 021 is a valid decimal number, therefore, interpreting it as octal seems to be non-conformant. Rich Felker2011-08-011-1/+1
* disallow blank strings as service or host nameRich Felker2011-04-201-0/+3
* 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 Felker2011-04-081-0/+1
* 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 Felker2011-03-251-1/+1
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+224