aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorGlenn Morris2014-04-29 08:12:36 -0700
committerGlenn Morris2014-04-29 08:12:36 -0700
commit4a25c1cb1e1be8fa3ceea455b7f442cfb507eb39 (patch)
tree00f19c7a0218eaa0bb1f675ceb879ef682bc1ed6 /src/process.c
parent7ac903abc8cebd281b2ab263770e293c096bbfca (diff)
downloademacs-4a25c1cb1e1be8fa3ceea455b7f442cfb507eb39.tar.gz
emacs-4a25c1cb1e1be8fa3ceea455b7f442cfb507eb39.zip
* src/process.c (handle_child_signal): Handle systems without WCONTINUED
Fixes: debbugs:15110
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 2c66b9e976e..07b690e6ebd 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6225,7 +6225,11 @@ handle_child_signal (int sig)
6225 int status; 6225 int status;
6226 6226
6227 if (p->alive 6227 if (p->alive
6228 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED)) 6228#ifndef WCONTINUED
6229 && child_status_changed (p->pid, &status, WUNTRACED))
6230#else
6231 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
6232#endif
6229 { 6233 {
6230 /* Change the status of the process that was found. */ 6234 /* Change the status of the process that was found. */
6231 p->tick = ++process_tick; 6235 p->tick = ++process_tick;