From: Karl Heuer Date: Tue, 19 Apr 1994 05:56:20 +0000 (+0000) Subject: (read_avail_input): Test EINTR, not EAGAIN. X-Git-Tag: emacs-19.34~8889 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a14cad8c6022bb59d7815d40e66b1c83479c24a4;p=emacs.git (read_avail_input): Test EINTR, not EAGAIN. --- diff --git a/src/keyboard.c b/src/keyboard.c index affd373655b..dd21b63cfdd 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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