* 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:
parent
5c20c8b704
commit
da9aff1154
2 changed files with 9 additions and 1 deletions
|
@ -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).
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue