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

Diff for /src/usr.bin/make/compat.c between version 1.88 and 1.89

version 1.88, 2019/12/21 15:29:25 version 1.89, 2020/01/08 14:09:29
Line 266 
Line 266 
         }          }
 }  }
   
 void  bool
 Compat_Run(Lst targs)           /* List of target nodes to re-create */  Compat_Run(Lst targs)           /* List of target nodes to re-create */
 {  {
         GNode     *gn = NULL;   /* Current root target */          GNode     *gn = NULL;   /* Current root target */
         int       errors;       /* Number of targets not built due to errors */          int       errors;       /* Number of targets not built due to errors */
           bool    out_of_date = false;
   
         /* For each entry in the list of targets to create, call CompatMake on          /* For each entry in the list of targets to create, call CompatMake on
          * it to create the thing. CompatMake will leave the 'built_status'           * it to create the thing. CompatMake will leave the 'built_status'
Line 291 
Line 292 
                 else if (gn->built_status == ABORTED) {                  else if (gn->built_status == ABORTED) {
                         printf("`%s' not remade because of errors.\n",                          printf("`%s' not remade because of errors.\n",
                             gn->name);                              gn->name);
                           out_of_date = true;
                         errors++;                          errors++;
                   } else {
                           out_of_date = true;
                 }                  }
         }          }
   
         /* If the user has defined a .END target, run its commands.  */          /* If the user has defined a .END target, run its commands.  */
         if (errors == 0)          if (errors == 0 && !queryFlag)
                 run_gnode(end_node);                  run_gnode(end_node);
           return out_of_date;
 }  }

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89