HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588a9a3
)
(wait_reading_process_input): Move the O_NONBLOCK and
author
Richard M. Stallman
<rms@gnu.org>
Tue, 11 Jun 1996 19:48:13 +0000
(19:48 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 11 Jun 1996 19:48:13 +0000
(19:48 +0000)
O_NDELAY conditionals out of the EWOULDBLOCK conditional.
src/process.c
patch
|
blob
|
blame
|
history
diff --git
a/src/process.c
b/src/process.c
index
4446b2f
..
3c8d426
100644
(file)
--- 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)
;
-#e
lse
+#e
ndif
#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