Commit 0601c865 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

ws2_32: Don't return an error in WS_select when EINTR happens during timeout.

parent 4b18b0d1
......@@ -4780,7 +4780,11 @@ int WINAPI WS_select(int nfds, WS_fd_set *ws_readfds,
}
timeout = torig - (tv2.tv_sec * 1000) - (tv2.tv_usec + 999) / 1000;
if (timeout <= 0) break;
if (timeout <= 0)
{
ret = 0;
break;
}
} else break;
}
release_poll_fds( ws_readfds, ws_writefds, ws_exceptfds, pollfds );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment