summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-05-14 20:42:25 +0000
committerRoland McGrath <roland@redhat.com>1992-05-14 20:42:25 +0000
commitecfe56b932e5f70dbdd0f5dbe7aff650b17f35c7 (patch)
tree672d4e8aeefd5c722384dcc36d0d57f1af12c402
parent16d81de018c82cea61ca09faf437fedf3842a319 (diff)
downloadgunmake-ecfe56b932e5f70dbdd0f5dbe7aff650b17f35c7.tar.gz
Formerly job.c.~68~
-rw-r--r--job.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/job.c b/job.c
index f1c919d..31178ea 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;