emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r112804: * process.c (handle_child_si


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112804: * process.c (handle_child_signal): Also use WCONTINUED.
Date: Fri, 31 May 2013 17:54:34 -0700
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112804
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2013-05-31 17:54:34 -0700
message:
  * process.c (handle_child_signal): Also use WCONTINUED.
  
  This is so that list-processes doesn't mistakenly list the process
  as stopped, when the process has actually been continued and is
  now running.
modified:
  src/ChangeLog
  src/process.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-05-31 01:41:52 +0000
+++ b/src/ChangeLog     2013-06-01 00:54:34 +0000
@@ -1,3 +1,10 @@
+2013-06-01  Paul Eggert  <address@hidden>
+
+       * process.c (handle_child_signal): Also use WCONTINUED.
+       This is so that list-processes doesn't mistakenly list the process
+       as stopped, when the process has actually been continued and is
+       now running.
+
 2013-05-31  Paul Eggert  <address@hidden>
 
        Don't let D-bus autolaunch mess up SIGCHLD handling (Bug#14474).

=== modified file 'src/process.c'
--- a/src/process.c     2013-05-15 18:54:49 +0000
+++ b/src/process.c     2013-06-01 00:54:34 +0000
@@ -6159,7 +6159,8 @@
       struct Lisp_Process *p = XPROCESS (proc);
       int status;
 
-      if (p->alive && child_status_changed (p->pid, &status, WUNTRACED))
+      if (p->alive
+         && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
        {
          /* Change the status of the process that was found.  */
          p->tick = ++process_tick;


reply via email to

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