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

Erich E. Hoover erich.e.hoover at wine-staging.com
Wed Feb 8 09:50:47 CST 2017


On Wed, Feb 8, 2017 at 8:20 AM, Bruno Jesus <00cpxxx at gmail.com> wrote:
> ...
> I do have /usr/include/resolv.h but none of the #defines required in
> iphlpapi_main.c are met.

Would you mind sending me your config.log?  It seems odd to me that
__res_get_state and __res_getservers would be unavailable, maybe a
missing linker option?  It would also be interesting to see if
res_get_state and res_getservers exist on your test system.

> And I still think it can act as a fallback for overly restrictive
> systems on embedded platforms.

I think that could make sense, but we probably want to emit some kind
of warning if that's the case - otherwise we will never find out about
problems like the one it seems like you've encountered.

> Thanks for the review,

No problem!

Best,
Erich



More information about the wine-devel mailing list