com php-src: Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects(): win32/select.c

[email protected] (Matt Ficken)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    d83743739e38c3174be66815d90257856b0e1e07
Author:    Matt Ficken <[email protected]>         Tue, 11 Apr 2017 01:06:56 -0700
Parents:   6035ebd4a6c2c81eaf7b2ac71f6e23cb04e2c000
Branches:  master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=d83743739e38c3174be66815d90257856b0e1e07

Log:
Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects()

Bugs:
https://bugs.php.net/74410

Changed paths:
  M  win32/select.c


Diff:
diff --git a/win32/select.c b/win32/select.c
index 9d64dab..7060ebf 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.