(read_avail_input): Test EINTR, not EAGAIN.
This commit is contained in:
parent
9134775b88
commit
a14cad8c60
1 changed files with 1 additions and 1 deletions
|
@ -3357,7 +3357,7 @@ read_avail_input (expected)
|
|||
#endif
|
||||
/* Retry the read if it was interrupted. */
|
||||
}
|
||||
while (nread < 0 && (errno == EAGAIN
|
||||
while (nread < 0 && (errno == EINTR
|
||||
#ifdef EFAULT
|
||||
|| errno == EFAULT
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue