Re: Detect UNIX domain sockets supported by recent Windows versions.

2024-07-24 Thread Bruno Haible
Hi Collin, > Perhaps test-sys_un{.c,cc} like usual > and another test program for UNIX socket functionality if or > is found. Yes. > I'm thinking that for older versions of Windows and systems without UNIX > sockets they should all be skipped. > > I don't think there is much point in defining

Re: Detect UNIX domain sockets supported by recent Windows versions.

2024-07-24 Thread Collin Funk
Hi Bruno, Bruno Haible writes: > And a unit test would be nice as well. You know, it's only through the > unit tests that we discover the portability problems. > > I think such a unit test shouldn't use fork(), like tests/test-passfd.c > does, since fork() doesn't exist on native Windows. But >

Re: Detect UNIX domain sockets supported by recent Windows versions.

2024-07-24 Thread Bruno Haible
Hi Collin, > I'll write a sys_un module to deal with including afunix.h tomorrow. Nice! And a unit test would be nice as well. You know, it's only through the unit tests that we discover the portability problems. I think such a unit test shouldn't use fork(), like tests/test-passfd.c does, sinc