projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5516728
)
accept-process-output fix
author
Ian Kelling
<ian@iankelling.org>
Sun, 5 Jul 2015 22:14:12 +0000
(15:14 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 5 Jul 2015 22:15:01 +0000
(15:15 -0700)
This is a followon to the fix for Bug#17647 (Bug#20976).
* src/process.c (status_notify): Fix too high return in some cases.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 3132f19d636708dc87dabe792579c55abc7f3b0b..70c9076d4e87a31bda7e56d114515f7dca545451 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-6714,7
+6714,8
@@
status_notify (struct Lisp_Process *deleting_process,
&& p != deleting_process)
{
int nread = read_process_output (proc, p->infd);
- if (got_some_input < nread)
+ if ((!wait_proc || wait_proc == XPROCESS (proc))
+ && got_some_input < nread)
got_some_input = nread;
if (nread <= 0)
break;