diff --git a/src/ChangeLog b/src/ChangeLog index 0c8fa7b31d7..af9270fb7a4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,8 +1,12 @@ +2014-04-29 Glenn Morris + + * process.c (handle_child_signal): + Handle systems without WCONTINUED. (Bug#15110, 17339) + 2014-04-23 Eli Zaretskii * search.c (Fnewline_cache_check): Don't try to count newlines - outside the buffer's restriction, as find_newline doesn't support - that. + outside the buffer's restriction, as find_newline doesn't support that. 2014-04-22 Paul Eggert 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;