* 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.
This commit is contained in:
Paul Eggert 2013-05-31 17:54:34 -07:00
parent 5c20c8b704
commit da9aff1154
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
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).

View file

@ -6159,7 +6159,8 @@ handle_child_signal (int sig)
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;