]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_avail_input): Test EINTR, not EAGAIN.
authorKarl Heuer <kwzh@gnu.org>
Tue, 19 Apr 1994 05:56:20 +0000 (05:56 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 19 Apr 1994 05:56:20 +0000 (05:56 +0000)
src/keyboard.c

index affd373655bb551bc1e06f212f30d6f6ded14f5d..dd21b63cfdd65e33dea2875aa9b9e6536d2a2006 100644 (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