From 4a25c1cb1e1be8fa3ceea455b7f442cfb507eb39 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 29 Apr 2014 08:12:36 -0700 Subject: * src/process.c (handle_child_signal): Handle systems without WCONTINUED Fixes: debbugs:15110 --- src/process.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/process.c') 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) int status; if (p->alive - && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED)) +#ifndef WCONTINUED + && child_status_changed (p->pid, &status, WUNTRACED)) +#else + && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED)) +#endif { /* Change the status of the process that was found. */ p->tick = ++process_tick; -- cgit v1.2.1