* src/process.c (handle_child_signal): Handle systems without WCONTINUED

Fixes: debbugs:15110
This commit is contained in:
Glenn Morris 2014-04-29 08:12:36 -07:00
parent 7ac903abc8
commit 4a25c1cb1e
2 changed files with 11 additions and 3 deletions

View file

@ -1,8 +1,12 @@
2014-04-29 Glenn Morris <rgm@gnu.org>
* process.c (handle_child_signal):
Handle systems without WCONTINUED. (Bug#15110, 17339)
2014-04-23 Eli Zaretskii <eliz@gnu.org>
* 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 <eggert@cs.ucla.edu>

View file

@ -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;