mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-15 17:00:26 +00:00
(read_avail_input): Test EINTR, not EAGAIN.
This commit is contained in:
parent
9134775b88
commit
a14cad8c60
@ -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…
Reference in New Issue
Block a user