[PATCH v3] ws2_32: Very minimal support for AF_UNIX.

Zebediah Figura z.figura12 at gmail.com
Tue Sep 8 12:27:12 CDT 2020


On 9/8/20 12:12 PM, Richard W.M. Jones wrote:
> I haven't added any tests yet as the wine/dlls/ws2_32/tests/sock.c
> fiile is rather daunting.

It's large, yes, which can be annoying, but in theory the test functions
should all be independent of each other. Hence you'd just need to add a
new test function that exercises basic usage of AF_UNIX sockets.

> 
> However it does fix a signficant bug - I forgot to translate the
> filename in the sun_path field from a Windows name to a Unix name.
> This happened to work by accident with my server which was setting a
> relative path here, but as soon as I used an absolute path for the
> socket it revealed the bug in my Wine patch.
> 
> Rich.
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200908/c0f143c9/attachment.sig>


More information about the wine-devel mailing list