Return to cmd_exec.c CVS log | Up to [local] / src / usr.bin / make |
version 1.8, 2010/07/19 19:46:43 | version 1.9, 2016/03/05 13:12:12 | ||
---|---|---|---|
|
|
||
(void)close(fds[0]); | (void)close(fds[0]); | ||
/* Wait for the child to exit. */ | /* Wait for the child to exit. */ | ||
while ((pid = wait(&status)) != cpid && pid >= 0) | while (waitpid(cpid, &status, 0) == -1 && errno == EINTR) | ||
continue; | continue; | ||
if (cc == -1) | if (cc == -1) |