mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-27 06:27:57 +00:00
Formerly job.c.~68~
This commit is contained in:
parent
16d81de018
commit
ecfe56b932
1 changed files with 7 additions and 1 deletions
8
job.c
8
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;
|
||||
|
|
Loading…
Reference in a new issue