emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#20976: closed (25.0.50; [PATCH] Fix too high retur


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20976: closed (25.0.50; [PATCH] Fix too high return in some cases of status_notify)
Date: Sun, 05 Jul 2015 22:17:02 +0000

Your message dated Sun, 05 Jul 2015 15:16:22 -0700
with message-id <address@hidden>
and subject line Re:  25.0.50; [PATCH] Fix too high return in some cases of 
status_notify
has caused the debbugs.gnu.org bug report #20976,
regarding 25.0.50; [PATCH] Fix too high return in some cases of status_notify
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20976: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20976
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.50; [PATCH] Fix too high return in some cases of status_notify Date: Sat, 04 Jul 2015 02:13:32 -0700
* 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



--- End Message ---
--- Begin Message --- Subject: Re: 25.0.50; [PATCH] Fix too high return in some cases of status_notify Date: Sun, 05 Jul 2015 15:16:22 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Thanks, I installed that.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]