[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.43 and 1.44

version 1.43, 2007/11/02 17:27:24 version 1.44, 2007/11/03 10:39:22
Line 213 
Line 213 
                         (void)Lst_QueueNew(&toBeMade, succ);                          (void)Lst_QueueNew(&toBeMade, succ);
         }          }
   
         /* Set the .PREFIX and .IMPSRC variables for all the implied parents          /* Set the .IMPSRC variables for all the implied parents
          * of this node.  */           * of this node.  */
         {          {
         char    *cpref = Varq_Value(PREFIX_INDEX, cgn);          char    *cpref = Varq_Value(PREFIX_INDEX, cgn);
   
         for (ln = Lst_First(&cgn->iParents); ln != NULL; ln = Lst_Adv(ln)) {          for (ln = Lst_First(&cgn->iParents); ln != NULL; ln = Lst_Adv(ln)) {
                 pgn = (GNode *)Lst_Datum(ln);                  pgn = (GNode *)Lst_Datum(ln);
                 if (pgn->make) {                  if (pgn->make)
                         Varq_Set(IMPSRC_INDEX, cname, pgn);                          Varq_Set(IMPSRC_INDEX, cname, pgn);
                         Varq_Set(PREFIX_INDEX, cpref, pgn);  
                 }  
         }          }
         }          }
   

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44