From d355cad6b78c35050ba94016bb7ee12acbd257ee Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 3 May 2014 13:13:10 -0700 Subject: 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 --- src/process.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/process.c') 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) int status; if (p->alive -#ifndef WCONTINUED - && child_status_changed (p->pid, &status, WUNTRACED)) -#else - && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED)) -#endif + && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED)) { /* Change the status of the process that was found. */ p->tick = ++process_tick; -- cgit v1.2.1