wininet: let automated testers force all DNS lookups to return localhost

Henri Verbeet hverbeet at gmail.com
Fri Oct 31 10:11:56 CDT 2008


2008/10/31 James Mckenzie <jjmckenzie51 at earthlink.net>:
> This would not work on Macs as /etc/hosts is locked to admins only and would be a problem to implement.
>
I don't see how that's a problem, or how that's different from eg. Linux.

More on-topic, I don't think it would be hard to do some LD_PRELOAD
hacks on getaddrinfo(), gethostbyname(), and whatever else is
appropriate.



More information about the wine-devel mailing list