# HG changeset patch # User Karl Heuer # Date 766734980 0 # Node ID 5e9dfb3a11dff1860933d695f9d0ec00d67e8ecb # Parent 67b16a9f7e5d76c383f84aba3f093e916611bfa9 (read_avail_input): Test EINTR, not EAGAIN. diff -r 67b16a9f7e5d -r 5e9dfb3a11df src/keyboard.c --- 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