changeset 6964:5e9dfb3a11df

(read_avail_input): Test EINTR, not EAGAIN.
author Karl Heuer <kwzh@gnu.org>
date Tue, 19 Apr 1994 05:56:20 +0000
parents 67b16a9f7e5d
children 7fd01c621b82
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue Apr 19 05:52:58 1994 +0000
+++ b/src/keyboard.c	Tue Apr 19 05:56:20 1994 +0000
@@ -3357,7 +3357,7 @@
 #endif
 	  /* Retry the read if it was interrupted.  */
 	}
-      while (nread < 0 && (errno == EAGAIN 
+      while (nread < 0 && (errno == EINTR
 #ifdef EFAULT
 			   || errno == EFAULT
 #endif