diff options
| author | Roland McGrath <roland@redhat.com> | 1992-05-14 20:42:25 +0000 |
|---|---|---|
| committer | Roland McGrath <roland@redhat.com> | 1992-05-14 20:42:25 +0000 |
| commit | ecfe56b932e5f70dbdd0f5dbe7aff650b17f35c7 (patch) | |
| tree | 672d4e8aeefd5c722384dcc36d0d57f1af12c402 | |
| parent | 16d81de018c82cea61ca09faf437fedf3842a319 (diff) | |
| download | gunmake-ecfe56b932e5f70dbdd0f5dbe7aff650b17f35c7.tar.gz | |
Formerly job.c.~68~
| -rw-r--r-- | job.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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; |
