mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Fixed the fix in f68dc94aa7
This commit is contained in:
@@ -184,11 +184,9 @@ PHPDBG_API int phpdbg_mixed_read(int sock, char *ptr, int len, int tmo) {
|
||||
return phpdbg_consume_bytes(sock, ptr, len, tmo);
|
||||
}
|
||||
|
||||
ret = read(sock, ptr, len);
|
||||
if (ret == -1 && errno == EINTR) {
|
||||
/* Read was interrupted, retry once */
|
||||
do {
|
||||
ret = read(sock, ptr, len);
|
||||
}
|
||||
} while (ret == -1 && errno == EINTR);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user