1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 11:42:17 +02:00
Files
archived-php-src/main
George Peter Banyard 150ebfdf77 Suppress bogus [-Wlogical-op] warning from GCC
See GCC bug 69602: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602
which emits the warning for (errno == EWOULDBLOCK || errno == EAGAIN)
which is the correct way of handling errors as the value of EWOULDBLOCK
and EAGAIN is implementation defined.

Therefore introduce a new macro function PHP_IS_TRANSIENT_ERROR()
which handles the case when EWOULDBLOCK and EAGAIN are identical.

Thanks to @twose for the idea.
2020-10-10 14:45:20 +01:00
..
2019-02-03 21:03:00 +01:00
2020-06-08 10:38:45 +02:00
2020-01-27 13:32:51 +01:00
2020-09-11 14:49:07 +02:00
2020-01-27 13:32:51 +01:00
2020-06-08 10:38:45 +02:00
2020-03-26 11:49:27 +01:00
2020-09-28 22:55:37 -07:00
2020-10-09 11:37:27 +02:00
2020-10-09 11:37:27 +02:00
2020-06-29 17:47:21 +02:00
2020-08-05 18:40:23 +02:00
2020-06-08 10:38:45 +02:00