From d83743739e38c3174be66815d90257856b0e1e07 Mon Sep 17 00:00:00 2001 From: Matt Ficken Date: Tue, 11 Apr 2017 01:06:56 -0700 Subject: [PATCH] Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects() --- win32/select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/select.c b/win32/select.c index 9d64dab431..7060ebf414 100644 --- a/win32/select.c +++ b/win32/select.c @@ -117,7 +117,7 @@ PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, stru /* check handles */ DWORD wret; - wret = MsgWaitForMultipleObjects(n_handles, handles, FALSE, retcode > 0 ? 0 : 100, QS_ALLEVENTS); + wret = WaitForMultipleObjects(n_handles, handles, FALSE, retcode > 0 ? 0 : 100); if (wret == WAIT_TIMEOUT) { /* set retcode to 0; this is the default. -- 2.50.1