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:
b3e13f5
)
(wait_reading_process_input): Fix previous change.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 17 Jun 1997 04:15:18 +0000
(
04:15
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 17 Jun 1997 04:15:18 +0000
(
04:15
+0000)
src/process.c
patch
|
blob
|
blame
|
history
diff --git
a/src/process.c
b/src/process.c
index
bebfba7
..
06edf7c
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-2311,7
+2311,8
@@
wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
XSETPROCESS (proc, wait_proc);
/* Read data from the process, until we exhaust it. */
- while (nread = read_process_output (proc, XINT (wait_proc->infd)))
+ while (XINT (wait_proc->infd) >= 0
+ && nread = read_process_output (proc, XINT (wait_proc->infd)))
total_nread += nread;
if (total_nread > 0 && do_display)
redisplay_preserve_echo_area ();