[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.52 and 1.53

version 1.52, 2007/11/10 12:56:50 version 1.53, 2007/11/10 13:59:48
Line 182 
Line 182 
         gn->special = SPECIAL_NONE;          gn->special = SPECIAL_NONE;
         gn->unmade = 0;          gn->unmade = 0;
         gn->must_make = false;          gn->must_make = false;
         gn->built_status = UNMADE;          gn->built_status = UNKNOWN;
         gn->childMade = false;          gn->childMade = false;
         gn->order = 0;          gn->order = 0;
         ts_set_out_of_date(gn->mtime);          ts_set_out_of_date(gn->mtime);
Line 353 
Line 353 
 status_to_string(GNode *gn)  status_to_string(GNode *gn)
 {  {
         switch (gn->built_status) {          switch (gn->built_status) {
         case UNMADE:          case UNKNOWN:
                 return "unmade";                  return "unknown";
         case MADE:          case MADE:
                 return "made";                  return "made";
         case UPTODATE:          case UPTODATE:
Line 381 
Line 381 
                                 printf("# last modified %s: %s\n",                                  printf("# last modified %s: %s\n",
                                       time_to_string(gn->mtime),                                        time_to_string(gn->mtime),
                                       status_to_string(gn));                                        status_to_string(gn));
                         } else if (gn->built_status != UNMADE) {                          } else if (gn->built_status != UNKNOWN) {
                                 printf("# non-existent (maybe): %s\n",                                  printf("# non-existent (maybe): %s\n",
                                     status_to_string(gn));                                      status_to_string(gn));
                         } else {                          } else {

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53