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-06-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ * 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 <eggert@cs.ucla.edu>
Don't let D-bus autolaunch mess up SIGCHLD handling (Bug#14474).
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;