[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.49 and 1.50

version 1.49, 2007/11/02 17:27:24 version 1.50, 2007/11/06 21:12:23
Line 186 
Line 186 
         gn->order = 0;          gn->order = 0;
         ts_set_out_of_date(gn->mtime);          ts_set_out_of_date(gn->mtime);
         ts_set_out_of_date(gn->cmtime);          ts_set_out_of_date(gn->cmtime);
         Lst_Init(&gn->iParents);  
         Lst_Init(&gn->cohorts);          Lst_Init(&gn->cohorts);
         Lst_Init(&gn->parents);          Lst_Init(&gn->parents);
         Lst_Init(&gn->children);          Lst_Init(&gn->children);
Line 195 
Line 194 
         SymTable_Init(&gn->context);          SymTable_Init(&gn->context);
         gn->lineno = 0;          gn->lineno = 0;
         gn->fname = NULL;          gn->fname = NULL;
           gn->impliedsrc = NULL;
         Lst_Init(&gn->commands);          Lst_Init(&gn->commands);
         gn->suffix =    NULL;          gn->suffix =    NULL;
   
Line 215 
Line 215 
         GNode *gn = (GNode *)gnp;          GNode *gn = (GNode *)gnp;
   
         efree(gn->path);          efree(gn->path);
         Lst_Destroy(&gn->iParents, NOFREE);  
         Lst_Destroy(&gn->cohorts, NOFREE);          Lst_Destroy(&gn->cohorts, NOFREE);
         Lst_Destroy(&gn->parents, NOFREE);          Lst_Destroy(&gn->parents, NOFREE);
         Lst_Destroy(&gn->children, NOFREE);          Lst_Destroy(&gn->children, NOFREE);
Line 376 
Line 375 
                                 printf("# unmade\n");                                  printf("# unmade\n");
                         }                          }
                 }                  }
                 if (!Lst_IsEmpty(&gn->iParents)) {  
                         printf("# implicit parents: ");  
                         Lst_Every(&gn->iParents, TargPrintName);  
                         fputc('\n', stdout);  
                 }  
         }          }
         if (!Lst_IsEmpty(&gn->parents)) {          if (!Lst_IsEmpty(&gn->parents)) {
                 printf("# parents: ");                  printf("# parents: ");
                 Lst_Every(&gn->parents, TargPrintName);                  Lst_Every(&gn->parents, TargPrintName);
                 fputc('\n', stdout);                  fputc('\n', stdout);
         }          }
           if (gn->impliedsrc)
                   printf("# implied source: %s\n", gn->impliedsrc->name);
   
         printf("%-16s", gn->name);          printf("%-16s", gn->name);
         switch (gn->type & OP_OPMASK) {          switch (gn->type & OP_OPMASK) {

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50