From: Roland McGrath Date: Thu, 14 May 1992 20:42:25 +0000 (+0000) Subject: Formerly job.c.~68~ X-Git-Tag: 3.70.2~771 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecfe56b932e5f70dbdd0f5dbe7aff650b17f35c7;p=thirdparty%2Fmake.git Formerly job.c.~68~ --- diff --git a/job.c b/job.c index f1c919d4..31178ea6 100644 --- a/job.c +++ b/job.c @@ -257,7 +257,13 @@ reap_children (block, err) pid = wait (&status); if (pid < 0) - pfatal_with_name ("wait"); + { +#ifdef EINTR + if (errno == EINTR) + continue; +#endif + pfatal_with_name ("wait"); + } else if (pid == 0) /* No local children. */ break;