* There are bugs in make which I haven't tracked down related to the
handling of stopped/continued processes.
* Work around the problem by removing the use of WUNTRACED in one of the
several waitpid() use cases. It is unclear why one would ever want to
try to track signals to processes for this case.
* This fixes a "couldn't resume %s" error from make when a large -j N
build is repeatedly ^Z'd and continued.
}
for (;;) {
- pid = waitpid((pid_t)-1, &status,
- (block ? 0 : WNOHANG) | WUNTRACED);
+ pid = waitpid((pid_t)-1, &status, (block ? 0 : WNOHANG));
if (pid <= 0)
break;