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:
|
#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
Description
According to some sources, this function is obsolete and should be replaced with:
Moreover, getting rid of them would allow us to get remove some conditionally defined globals:
php-src/ext/standard/file.h
Lines 106 to 110 in 69d9c12
Initially found while working on #15511