[php-src] Issue #7992: Refactor standard/dns.c into dns.c, dns_unix.c and dns_win32.c
| From: | RyanNerd | Date: | Sun, 23 Jan 2022 02:46:18 +0000 |
| Subject: | [php-src] Issue #7992: Refactor standard/dns.c into dns.c, dns_unix.c and dns_win32.c | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239246@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7992
Author: RyanNerd
### Description
This is a [todo in the
code](https://github.com/php/php-src/blob/99d67d121acd4c324738509679d23acaf759d065/ext/standard/dns.c#L138)
I'm putting it here so it gets on the radar for a todo.
If this is a _wontfix_ then remove the todo from the code.
```c
/* TODO: Reimplement the gethostby* functions using the new winxp+ API, in dns_win32.c, then
we can have a dns.c, dns_unix.c and dns_win32.c instead of a messy dns.c full of #ifdef
*/
```