Hi Gisle,

> I found the same problem with test-select-fd.c:
> 
> --- a/tests/test-select-fd.c 2019-01-02 12:05:09
> +++ b/tests/test-select-fd.c 2019-07-03 06:48:11
> @@ -21,6 +21,7 @@
>   #include <stdio.h>
>   #include <stdlib.h>
>   #include <sys/select.h>
> +#include <sockets.h>
> 
>   int
>   main (int argc, char *argv[])
> @@ -44,6 +45,7 @@
>                     struct timeval timeout;
>                     int ret;
> 
> +                  gl_sockets_startup (SOCKETS_1_1);
>                     FD_ZERO (&fds);
>                     FD_SET (fd, &fds);
>                     timeout.tv_sec = 0;

This patch does not fix any of the existing test failures
(test-select, test-select-out.sh) for me.

Note that the select() function used by this file is the
gnulib select, not the <winsock2.h> select.

Bruno


Reply via email to