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

Diff for /src/usr.bin/make/suff.c between version 1.73 and 1.74

version 1.73, 2007/11/02 17:27:24 version 1.74, 2007/11/06 21:12:23
Line 1280 
Line 1280 
   
         if ((sGn->type & OP_OPMASK) == OP_DOUBLEDEP) {          if ((sGn->type & OP_OPMASK) == OP_DOUBLEDEP) {
                 /* When a :: node is used as the implied source of a node, we                  /* When a :: node is used as the implied source of a node, we
                  * have to link all its cohorts in as sources as well. Only the                   * have to link all its cohorts in as sources as well. There's
                  * initial sGn gets the target in its iParents list, however,                   * only one implied src, as that will be sufficient to get
                  * as that will be sufficient to get the .IMPSRC variable set                   * the .IMPSRC variable set for tGn.    */
                  * for tGn.     */  
                 for (ln=Lst_First(&sGn->cohorts); ln != NULL; ln=Lst_Adv(ln)) {                  for (ln=Lst_First(&sGn->cohorts); ln != NULL; ln=Lst_Adv(ln)) {
                         gn = (GNode *)Lst_Datum(ln);                          gn = (GNode *)Lst_Datum(ln);
   
Line 1326 
Line 1325 
   
         /* Keep track of another parent to which this beast is transformed so          /* Keep track of another parent to which this beast is transformed so
          * the .IMPSRC variable can be set correctly for the parent.  */           * the .IMPSRC variable can be set correctly for the parent.  */
         Lst_AtEnd(&sGn->iParents, tGn);          tGn->impliedsrc = sGn;
   
         return true;          return true;
 }  }

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74