[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.134 and 1.135

version 1.134, 2012/12/08 12:54:17 version 1.135, 2012/12/14 11:10:03
Line 414 
Line 414 
         }          }
 }  }
   
 void  static void
 setup_all_signals(void)  setup_all_signals(void)
 {  {
         sigemptyset(&sigset);          sigemptyset(&sigset);
Line 849 
Line 849 
          * reception of new stuff on sigsuspend           * reception of new stuff on sigsuspend
          */           */
         sigprocmask(SIG_BLOCK, &sigset, &old);          sigprocmask(SIG_BLOCK, &sigset, &old);
           /* note this will NOT loop until runningJobs == NULL.
            * It's merely an optimisation, namely that we don't need to go
            * through the logic if no job is present. As soon as a job
            * gets reaped, we WILL exit the loop through the break.
            */
         while (runningJobs != NULL) {          while (runningJobs != NULL) {
                 /* did we already have pending stuff that advances things ?                  /* did we already have pending stuff that advances things ?
                  * then handle_all_signals() will not return                   * then handle_all_signals() will not return

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.135