[BACK]Return to job.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/job.c between version 1.159 and 1.160

version 1.159, 2020/01/16 16:07:18 version 1.160, 2020/01/29 17:06:51
Line 757 
Line 757 
         Job *job;          Job *job;
   
         while ((pid = waitpid(WAIT_ANY, &status, WNOHANG)) > 0) {          while ((pid = waitpid(WAIT_ANY, &status, WNOHANG)) > 0) {
                   if (WIFSTOPPED(status))
                           continue;
                 reaped = true;                  reaped = true;
                 job = reap_finished_job(pid);                  job = reap_finished_job(pid);
   
                 if (job == NULL) {                  if (job == NULL) {
                         Punt("Child (%ld) not in table?", (long)pid);                          Punt("Child (%ld) with status %d not in table?",
                               (long)pid, status);
                 } else {                  } else {
                         handle_job_status(job, status);                          handle_job_status(job, status);
                         determine_job_next_step(job);                          determine_job_next_step(job);

Legend:
Removed from v.1.159  
changed lines
  Added in v.1.160