diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-11 19:48:13 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-11 19:48:13 +0000 |
commit | a2ff0e3eaf8e47371d2212a618fdc721bd49afce (patch) | |
tree | aa8e935c04bb853c5685d1db93efd712098e43f6 /src/process.c | |
parent | f08fdb30a657f1e392bf205cfc39df8108b712ee (diff) | |
download | emacs-a2ff0e3eaf8e47371d2212a618fdc721bd49afce.tar.gz |
(wait_reading_process_input): Move the O_NONBLOCK and
O_NDELAY conditionals out of the EWOULDBLOCK conditional.
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 4446b2fdfea..3c8d426b814 100644 --- a/src/process.c +++ b/src/process.c @@ -2330,7 +2330,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) #ifdef EWOULDBLOCK else if (nread == -1 && errno == EWOULDBLOCK) ; -#else +#endif #ifdef O_NONBLOCK else if (nread == -1 && errno == EAGAIN) ; @@ -2346,7 +2346,6 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) ; #endif /* O_NDELAY */ #endif /* O_NONBLOCK */ -#endif /* EWOULDBLOCK */ #ifdef HAVE_PTYS /* On some OSs with ptys, when the process on one end of a pty exits, the other end gets an error reading with |