* bug#20976: 25.0.50; [PATCH] Fix too high return in some cases of status_notify
@ 2015-07-04 9:13 Ian Kelling
2015-07-05 22:16 ` Paul Eggert
0 siblings, 1 reply; 2+ messages in thread
From: Ian Kelling @ 2015-07-04 9:13 UTC (permalink / raw)
To: 20976
* src/process.c (status_notify): Fix too high return in some
cases.
---
This was clearly intended to be part of the patch for debbugs:17647 (git
05d2821). The same pattern used elsewhere and wait_proc is an an unused
parameter added in that patch.
diff --git a/src/process.c b/src/process.c
index 3132f19..5272792 100644
--- 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;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#20976: 25.0.50; [PATCH] Fix too high return in some cases of status_notify
2015-07-04 9:13 bug#20976: 25.0.50; [PATCH] Fix too high return in some cases of status_notify Ian Kelling
@ 2015-07-05 22:16 ` Paul Eggert
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2015-07-05 22:16 UTC (permalink / raw)
To: Ian Kelling; +Cc: 20976-done
Thanks, I installed that.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-05 22:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-04 9:13 bug#20976: 25.0.50; [PATCH] Fix too high return in some cases of status_notify Ian Kelling
2015-07-05 22:16 ` Paul Eggert
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.