# HG changeset patch # User Richard M. Stallman # Date 834522493 0 # Node ID c27bb6e69e2dc82a46997d61b6db5a0c6a67ea5a # Parent 9f223b2f92ac98894839b17ebae6234bec47137a (wait_reading_process_input): Move the O_NONBLOCK and O_NDELAY conditionals out of the EWOULDBLOCK conditional. diff -r 9f223b2f92ac -r c27bb6e69e2d src/process.c --- a/src/process.c Tue Jun 11 01:39:29 1996 +0000 +++ b/src/process.c Tue Jun 11 19:48:13 1996 +0000 @@ -2330,7 +2330,7 @@ #ifdef EWOULDBLOCK else if (nread == -1 && errno == EWOULDBLOCK) ; -#else +#endif #ifdef O_NONBLOCK else if (nread == -1 && errno == EAGAIN) ; @@ -2346,7 +2346,6 @@ ; #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