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

Diff for /src/usr.bin/make/targ.c between version 1.12 and 1.13

version 1.12, 1999/12/18 21:53:33 version 1.13, 1999/12/18 21:58:08
Line 197 
Line 197 
 #ifdef CLEANUP  #ifdef CLEANUP
     if (allGNs == NULL)      if (allGNs == NULL)
         allGNs = Lst_Init();          allGNs = Lst_Init();
     Lst_AtEnd(allGNs, (ClientData) gn);      Lst_AtEnd(allGNs, (ClientData)gn);
 #endif  #endif
   
     return (gn);      return (gn);
Line 270 
Line 270 
         if (isNew) {          if (isNew) {
             gn = Targ_NewGN (name);              gn = Targ_NewGN (name);
             Hash_SetValue (he, gn);              Hash_SetValue (he, gn);
             (void) Lst_AtEnd (allTargets, (ClientData)gn);              Lst_AtEnd(allTargets, (ClientData)gn);
         }          }
     } else {      } else {
         he = Hash_FindEntry (&targets, name);          he = Hash_FindEntry (&targets, name);
Line 323 
Line 323 
              * are added to the list in the order in which they were               * are added to the list in the order in which they were
              * encountered in the makefile.               * encountered in the makefile.
              */               */
             (void) Lst_AtEnd (nodes, (ClientData)gn);              Lst_AtEnd(nodes, (ClientData)gn);
             if (gn->type & OP_DOUBLEDEP) {              if (gn->type & OP_DOUBLEDEP) {
                 (void)Lst_Concat (nodes, gn->cohorts, LST_CONCNEW);                  Lst_Concat(nodes, gn->cohorts, LST_CONCNEW);
             }              }
         } else if (flags == TARG_NOCREATE) {          } else if (flags == TARG_NOCREATE) {
             Error ("\"%s\" -- target unknown.", name);              Error ("\"%s\" -- target unknown.", name);

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