[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.103 and 1.104

version 1.103, 2007/11/03 10:38:14 version 1.104, 2007/11/03 10:41:48
Line 738 
Line 738 
         if ((cpid = fork()) == -1) {          if ((cpid = fork()) == -1) {
                 Punt("Cannot fork");                  Punt("Cannot fork");
         } else if (cpid == 0) {          } else if (cpid == 0) {
                   supervise_jobs = false;
                 /* standard pipe code to route stdout and stderr */                  /* standard pipe code to route stdout and stderr */
                 close(fdout[0]);                  close(fdout[0]);
                 if (dup2(fdout[1], 1) == -1)                  if (dup2(fdout[1], 1) == -1)
Line 777 
Line 777 
                         exit(1);                          exit(1);
                 }                  }
         } else {          } else {
                   supervise_jobs = true;
                 job->pid = cpid;                  job->pid = cpid;
   
                 /* we set the current position in the buffers to the beginning                  /* we set the current position in the buffers to the beginning

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104