[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.79 and 1.80

version 1.79, 2007/09/18 07:45:25 version 1.80, 2007/09/18 08:27:22
Line 1140 
Line 1140 
                         (void)fflush(stdout);                          (void)fflush(stdout);
                 }                  }
                 if (nLocal >= maxLocal && !(job->flags & JOB_SPECIAL)) {                  if (nLocal >= maxLocal && !(job->flags & JOB_SPECIAL)) {
                     /*                          /*
                      * Can't be exported and not allowed to run locally -- put                           * Can't be exported and not allowed to run locally --
                      * it back on the hold queue and mark the table full                           * put it back on the hold queue and mark the table
                      */                           * full
                     if (DEBUG(JOB)) {                           */
                         (void)fprintf(stdout, "holding\n");                          if (DEBUG(JOB)) {
                         (void)fflush(stdout);                                  (void)fprintf(stdout, "holding\n");
                     }                                  (void)fflush(stdout);
                     Lst_AtFront(&stoppedJobs, job);                          }
                     jobFull = true;                          Lst_AtFront(&stoppedJobs, job);
                     if (DEBUG(JOB)) {                          jobFull = true;
                         (void)fprintf(stdout, "Job queue is full.\n");                          if (DEBUG(JOB)) {
                         (void)fflush(stdout);                                  (void)fprintf(stdout, "Job queue is full.\n");
                     }                                  (void)fflush(stdout);
                     return;                          }
                           return;
                 } else {                  } else {
                     /*                          /*
                      * Job may be run locally.                           * Job may be run locally.
                      */                           */
                     if (DEBUG(JOB)) {                          if (DEBUG(JOB)) {
                         (void)fprintf(stdout, "running locally\n");                                  (void)fprintf(stdout, "running locally\n");
                         (void)fflush(stdout);                                  (void)fflush(stdout);
                     }                          }
                 }                  }
                 JobExec(job, argv);                  JobExec(job, argv);
         } else {          } else {

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80