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

Diff for /src/usr.bin/make/compat.c between version 1.71 and 1.72

version 1.71, 2009/05/10 11:07:37 version 1.72, 2009/08/16 09:53:43
Line 97 
Line 97 
         if (pgn->type & OP_MADE) {          if (pgn->type & OP_MADE) {
                 sib = gn;                  sib = gn;
                 do {                  do {
                         (void)Dir_MTime(sib);                          sib->mtime = gn->mtime;
                         sib->built_status = UPTODATE;                          sib->built_status = UPTODATE;
                         sib = sib->sibling;                          sib = sib->sibling;
                 } while (sib != gn);                  } while (sib != gn);
Line 210 
Line 210 
                          * havoc with files that depend on this one.                           * havoc with files that depend on this one.
                          */                           */
                         if (noExecute || is_out_of_date(Dir_MTime(gn)))                          if (noExecute || is_out_of_date(Dir_MTime(gn)))
                                 gn->mtime = now;                                  ts_set_from_now(gn->mtime);
                         if (is_strictly_before(gn->mtime, gn->cmtime))                          if (is_strictly_before(gn->mtime, gn->cmtime))
                                 gn->mtime = gn->cmtime;                                  gn->mtime = gn->cmtime;
                         if (sib != gn) {                          if (sib != gn) {
                                 if (noExecute || is_out_of_date(Dir_MTime(sib)))                                  if (noExecute || is_out_of_date(Dir_MTime(sib)))
                                         sib->mtime = now;                                          ts_set_from_now(sib->mtime);
                                 if (is_strictly_before(sib->mtime, sib->cmtime))                                  if (is_strictly_before(sib->mtime, sib->cmtime))
                                         sib->mtime = sib->cmtime;                                          sib->mtime = sib->cmtime;
                         }                          }

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72