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

Diff for /src/usr.bin/make/make.c between version 1.70 and 1.71

version 1.70, 2015/08/21 02:19:49 version 1.71, 2016/10/21 16:12:38
Line 159 
Line 159 
   
   
         for (ln = Lst_First(&gn->preds); ln != NULL; ln = Lst_Adv(ln)) {          for (ln = Lst_First(&gn->preds); ln != NULL; ln = Lst_Adv(ln)) {
                 GNode   *pgn = (GNode *)Lst_Datum(ln);                  GNode   *pgn = Lst_Datum(ln);
   
                 if (pgn->must_make && pgn->built_status == UNKNOWN) {                  if (pgn->must_make && pgn->built_status == UNKNOWN) {
                         if (DEBUG(MAKE))                          if (DEBUG(MAKE))
Line 180 
Line 180 
          * queue, it means we need to place it in the queue as it restrained           * queue, it means we need to place it in the queue as it restrained
          * itself before.       */           * itself before.       */
         for (ln = Lst_First(&gn->successors); ln != NULL; ln = Lst_Adv(ln)) {          for (ln = Lst_First(&gn->successors); ln != NULL; ln = Lst_Adv(ln)) {
                 GNode   *succ = (GNode *)Lst_Datum(ln);                  GNode   *succ = Lst_Datum(ln);
   
                 if (succ->must_make && succ->unmade == 0                  if (succ->must_make && succ->unmade == 0
                     && succ->built_status == UNKNOWN)                      && succ->built_status == UNKNOWN)
Line 263 
Line 263 
         requeue(cgn);          requeue(cgn);
         /* SIB: this is where I should mark the build as finished */          /* SIB: this is where I should mark the build as finished */
         for (ln = Lst_First(&cgn->parents); ln != NULL; ln = Lst_Adv(ln)) {          for (ln = Lst_First(&cgn->parents); ln != NULL; ln = Lst_Adv(ln)) {
                 pgn = (GNode *)Lst_Datum(ln);                  pgn = Lst_Datum(ln);
                 /* SIB: there should be a siblings loop there */                  /* SIB: there should be a siblings loop there */
                 pgn->unmade--;                  pgn->unmade--;
                 if (pgn->must_make) {                  if (pgn->must_make) {

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71