From: Glenn Morris Date: Tue, 29 Apr 2014 15:12:36 +0000 (-0700) Subject: * src/process.c (handle_child_signal): Handle systems without WCONTINUED X-Git-Tag: emacs-24.3.91~77 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a25c1cb1e1be8fa3ceea455b7f442cfb507eb39;p=emacs.git * src/process.c (handle_child_signal): Handle systems without WCONTINUED Fixes: debbugs:15110 --- 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;