[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.11 and 1.12

version 1.11, 1999/12/18 21:56:07 version 1.12, 1999/12/18 21:58:07
Line 298 
Line 298 
     Lst            l = (Lst) lp;      Lst            l = (Lst) lp;
   
     if (!gn->make && !(gn->type & OP_USE)) {      if (!gn->make && !(gn->type & OP_USE)) {
         (void)Lst_EnQueue (l, (ClientData)gn);          Lst_EnQueue(l, (ClientData)gn);
     }      }
     return (0);      return (0);
 }  }
Line 340 
Line 340 
              * .USE or transformation and target has no commands -- append               * .USE or transformation and target has no commands -- append
              * the child's commands to the parent.               * the child's commands to the parent.
              */               */
             (void) Lst_Concat (pgn->commands, cgn->commands, LST_CONCNEW);              Lst_Concat (pgn->commands, cgn->commands, LST_CONCNEW);
         }          }
   
         if (Lst_Open (cgn->children) == SUCCESS) {          if (Lst_Open (cgn->children) == SUCCESS) {
Line 348 
Line 348 
                 gn = (GNode *)Lst_Datum (ln);                  gn = (GNode *)Lst_Datum (ln);
   
                 if (Lst_Member (pgn->children, gn) == NULL) {                  if (Lst_Member (pgn->children, gn) == NULL) {
                     (void) Lst_AtEnd (pgn->children, gn);                      Lst_AtEnd(pgn->children, gn);
                     (void) Lst_AtEnd (gn->parents, pgn);                      Lst_AtEnd(gn->parents, pgn);
                     pgn->unmade += 1;                      pgn->unmade += 1;
                 }                  }
             }              }
Line 522 
Line 522 
         if (succ->make && succ->unmade == 0 && succ->made == UNMADE &&          if (succ->make && succ->unmade == 0 && succ->made == UNMADE &&
             Lst_Member(toBeMade, (ClientData)succ) == NULL)              Lst_Member(toBeMade, (ClientData)succ) == NULL)
         {          {
             (void)Lst_EnQueue(toBeMade, (ClientData)succ);              Lst_EnQueue(toBeMade, (ClientData)succ);
         }          }
     }      }
   
Line 850 
Line 850 
             if (gn->unmade != 0) {              if (gn->unmade != 0) {
                 Lst_ForEach (gn->children, MakeAddChild, (ClientData)examine);                  Lst_ForEach (gn->children, MakeAddChild, (ClientData)examine);
             } else {              } else {
                 (void)Lst_EnQueue (toBeMade, (ClientData)gn);                  Lst_EnQueue(toBeMade, (ClientData)gn);
             }              }
         }          }
     }      }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12