[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.6 and 1.7

version 1.6, 2007/09/17 12:07:22 version 1.7, 2007/09/17 12:10:35
Line 161 
Line 161 
 {  {
         if (gn->type & (OP_JOIN|OP_USE|OP_EXEC|OP_OPTIONAL)) {          if (gn->type & (OP_JOIN|OP_USE|OP_EXEC|OP_OPTIONAL)) {
                 /*                  /*
                  * .JOIN, .USE, .ZEROTIME and .OPTIONAL targets are "virtual"                   * .JOIN, .USE and .OPTIONAL targets are "virtual"
                  * targets and, as such, shouldn't really be created.                   * targets and, as such, shouldn't really be created.
                  */                   */
                 return;                  return;
Line 206 
Line 206 
  *-----------------------------------------------------------------------   *-----------------------------------------------------------------------
  */   */
 void  void
 Make_TimeStamp(  Make_TimeStamp(GNode *parent, GNode *child)
     GNode *pgn, /* the current parent */  
     GNode *cgn) /* the child we've just examined */  
 {  {
         if (is_strictly_before(pgn->cmtime, cgn->mtime))      if (is_strictly_before(parent->cmtime, child->mtime))
                 pgn->cmtime = cgn->mtime;              parent->cmtime = child->mtime;
 }  }
   
 /*-  /*-

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7