aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2013-05-31 17:54:34 -0700
committerPaul Eggert2013-05-31 17:54:34 -0700
commitda9aff1154d9bf612067f1f0cb05fb0ad865d3ce (patch)
treedd5374476f733b029b273c52c734d79e631472fe /src/process.c
parent5c20c8b704f59e35e82c408fa44d8f9504f329eb (diff)
downloademacs-da9aff1154d9bf612067f1f0cb05fb0ad865d3ce.tar.gz
emacs-da9aff1154d9bf612067f1f0cb05fb0ad865d3ce.zip
* 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.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c3
1 files changed, 2 insertions, 1 deletions
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)
6159 struct Lisp_Process *p = XPROCESS (proc); 6159 struct Lisp_Process *p = XPROCESS (proc);
6160 int status; 6160 int status;
6161 6161
6162 if (p->alive && child_status_changed (p->pid, &status, WUNTRACED)) 6162 if (p->alive
6163 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
6163 { 6164 {
6164 /* Change the status of the process that was found. */ 6165 /* Change the status of the process that was found. */
6165 p->tick = ++process_tick; 6166 p->tick = ++process_tick;