aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2014-05-03 13:13:10 -0700
committerPaul Eggert2014-05-03 13:13:10 -0700
commitd355cad6b78c35050ba94016bb7ee12acbd257ee (patch)
treeaad901f9b23d2a4fd400529a84b0b891e9af0cb1 /src/process.c
parent8494d3796ca3fc153f65f13869d823beaddf07a2 (diff)
downloademacs-d355cad6b78c35050ba94016bb7ee12acbd257ee.tar.gz
emacs-d355cad6b78c35050ba94016bb7ee12acbd257ee.zip
Handle systems without WCONTINUED consistently.
* lib-src/emacsclient.c (WCONTINUED): Move to ../src/syswait.h. * src/process.c (handle_child_signal): Remove WCONTINUED ifdef, because WCONTINUED is always defined now. * src/syswait.h (WCONTINUED): Move here from ../lib-src/emacsclient.c. Fixes: debbugs:15110 debbugs:17339
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/process.c b/src/process.c
index 07b690e6ebd..2c66b9e976e 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6225,11 +6225,7 @@ handle_child_signal (int sig)
6225 int status; 6225 int status;
6226 6226
6227 if (p->alive 6227 if (p->alive
6228#ifndef WCONTINUED 6228 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
6229 && child_status_changed (p->pid, &status, WUNTRACED))
6230#else
6231 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
6232#endif
6233 { 6229 {
6234 /* Change the status of the process that was found. */ 6230 /* Change the status of the process that was found. */
6235 p->tick = ++process_tick; 6231 p->tick = ++process_tick;