[PATCH] iphlpapi: Retrieve DNS servers from /etc/resolv.conf if possible

Bruno Jesus 00cpxxx at gmail.com
Wed Feb 8 09:20:10 CST 2017


On Wed, Feb 8, 2017 at 11:59 AM, Erich E. Hoover
<erich.e.hoover at wine-staging.com> wrote:
> On Tue, Jan 31, 2017 at 1:36 AM, Bruno Jesus <00cpxxx at gmail.com> wrote:
>> Tested on FreeBSD 10 and PC-BSD 9 where it gives me the unimplemented message (and Debian by changing some defines).
>> ...
>
> Is the purpose of this to provide a fallback implementation or to get
> FreeBSD 10 and PC-BSD 9 working?  From a quick googling it looks like
> FreeBSD and PC-BSD both should support __res_getservers, though NetBSD
> seems to use res_getservers.  Are you possibly missing a header (or
> are we failing to include a header)?

I do have /usr/include/resolv.h but none of the #defines required in
iphlpapi_main.c are met.
And I still think it can act as a fallback for overly restrictive
systems on embedded platforms.

Thanks for the review,
Bruno



More information about the wine-devel mailing list