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

Diff for /src/usr.bin/make/engine.c between version 1.41 and 1.42

version 1.41, 2013/04/23 14:32:53 version 1.42, 2013/05/14 18:47:40
Line 286 
Line 286 
 void  void
 Make_TimeStamp(GNode *parent, GNode *child)  Make_TimeStamp(GNode *parent, GNode *child)
 {  {
         if (is_strictly_before(parent->cmtime, child->mtime))          if (is_strictly_before(parent->cmtime, child->mtime)) {
                 parent->cmtime = child->mtime;                  parent->cmtime = child->mtime;
                   parent->youngest = child;
           }
 }  }
   
 void  void
Line 500 
Line 502 
                  */                   */
                 if (DEBUG(MAKE)) {                  if (DEBUG(MAKE)) {
                         if (is_strictly_before(gn->mtime, gn->cmtime))                          if (is_strictly_before(gn->mtime, gn->cmtime))
                                 printf("modified before source...");                                  printf("modified before source(%s)...",
                                       gn->youngest->name);
                         else if (is_out_of_date(gn->mtime))                          else if (is_out_of_date(gn->mtime))
                                 printf("non-existent and no sources...");                                  printf("non-existent and no sources...");
                         else                          else

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42