1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/main
Christoph M. Becker 388c582ee9 Clarify usage of max_fd in php_poll2() on Windows
Actually, `max_fd` is not used on Windows, since `PHP_SAFE_MAX_FD` and
`select` ignore it; so it makes no sense to calculate it in the loop.
Even worse, since `php_socket_t` is unsigned on Windows, it will never
be modified during the loop, because `SOCK_ERR` is already the largest
representable value of that type.

Therefore we skip the loop on Windows, and add a clarifying comment.
2019-12-27 13:41:29 +01:00
..
2019-12-20 11:38:01 +01:00
2019-02-03 21:03:00 +01:00
2019-12-17 16:47:49 +01:00
2019-02-03 21:03:00 +01:00
2019-12-12 14:22:32 +01:00
2019-12-10 16:56:33 +00:00