-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Open
Description
Description
According to some sources, this function is obsolete and should be replaced with:
Applications should use getaddrinfo(3), getnameinfo(3), and gai_strerror(3) instead.
Moreover, getting rid of them would allow us to get remove some conditionally defined globals:
Lines 106 to 110 in 69d9c12
#ifdef HAVE_GETHOSTBYNAME_R | |
struct hostent tmp_host_info; | |
char *tmp_host_buf; | |
size_t tmp_host_buf_len; | |
#endif |
Initially found while working on #15511