[PATCH resend] ws2_32: Avoid depending on system getservby(name|port) functions
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Fri Sep 11 03:32:46 CDT 2020
On 11/9/20 6:21 pm, Hans Leidekker wrote:
> On Thu, 2020-09-10 at 22:32 -0600, Alex Henrie wrote:
>> These functions are incredibly slow on Windows. To avoid timeouts, I had
>> to put the tests in protocol.c rather than the crowded sock.c.
>
> Probably because Windows parses c:\windows\system32\drivers\etc\services. We
> should use that file too because there are applications that append entries
> to it and expect them to be resolved.
>
Currently wine doesn't create those files. That would be staging patch
wineboot-drivers_etc_Stubs patchset, now there might be reason to
upstream it.
Regards
Alistair
More information about the wine-devel
mailing list