aboutsummaryrefslogtreecommitdiff
path: root/src/network/gethostbyname2_r.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* remove dead case in gethostbyname2_r•••this case statement was accidently left behind when this function was refactored in commit e8f39ca4898237cf71657500f0b11534c47a0521. Daniel Sabogal2016-09-241-2/+0
* fix misaligned address buffers in gethostbyname[2][_r] results•••mistakenly ordering strings before addresses in the result buffer broke the alignment that the preceding code had set up. Rich Felker2016-06-271-7/+7
* fix gethostby*_r result pointer value on error•••according to the documentation in the man pages, the GNU extension functions gethostbyaddr_r, gethostbyname_r and gethostbyname2_r are guaranteed to set the result pointer to NULL in case of error or no result. Timo Teräs2014-06-201-0/+1
* improve gethostbyname2_r using new resolver backend•••these changes reduce the size of the function somewhat and remove many of its dependencies, including free. in principle it should now be async-signal-safe, but this has not been verified in detail. minor changes to error handling are also made. Rich Felker2014-06-011-35/+22
* include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy2013-12-121-1/+1
* fix memory leak due to double call to getaddrinfo in gethostbyname*Rich Felker2013-02-021-1/+0
* fix error returns in gethostby*_r functions•••they're supposed to return an error code rather than using errno. Rich Felker2013-02-021-9/+5
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+99