1
0
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:
Karl Heuer 1994-04-19 05:56:20 +00:00
parent 9134775b88
commit a14cad8c60

View File

@ -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