From: Paul Eggert Date: Sat, 1 Jun 2013 00:54:34 +0000 (-0700) Subject: * process.c (handle_child_signal): Also use WCONTINUED. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=da9aff1154d9bf612067f1f0cb05fb0ad865d3ce;p=emacs.git * 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. --- diff --git a/src/ChangeLog b/src/ChangeLog index 5069811f12b..a2d4a21e973 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2013-06-01 Paul Eggert + + * 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 Don't let D-bus autolaunch mess up SIGCHLD handling (Bug#14474). diff --git a/src/process.c b/src/process.c index 46385fa096b..45e8afdd22c 100644 --- a/src/process.c +++ b/src/process.c @@ -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;