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

Diff for /src/usr.bin/make/make.c between version 1.6 and 1.7

version 1.6, 1997/04/28 01:52:38 version 1.7, 1998/12/05 00:06:28
Line 129 
Line 129 
     ClientData pgn;     /* the current parent */      ClientData pgn;     /* the current parent */
     ClientData cgn;     /* the child we've just examined */      ClientData cgn;     /* the child we've just examined */
 {  {
     return (Make_TimeStamp((GNode *) pgn, (GNode *) cgn));      return Make_TimeStamp((GNode *) pgn, (GNode *) cgn);
 }  }
   
 /*-  /*-
Line 376 
Line 376 
     ClientData pgn;     /* the current parent */      ClientData pgn;     /* the current parent */
     ClientData cgn;     /* the child we've just examined */      ClientData cgn;     /* the child we've just examined */
 {  {
     return (Make_HandleUse((GNode *) pgn, (GNode *) cgn));      return Make_HandleUse((GNode *) pgn, (GNode *) cgn);
 }  }
   
 /*-  /*-
Line 414 
Line 414 
     char *p1;      char *p1;
   
     cname = Var_Value (TARGET, cgn, &p1);      cname = Var_Value (TARGET, cgn, &p1);
     if (p1)      efree(p1);
         free(p1);  
   
     /*      /*
      * If the child was actually made, see what its modification time is       * If the child was actually made, see what its modification time is
Line 544 
Line 543 
                 Var_Set (PREFIX, cpref, pgn);                  Var_Set (PREFIX, cpref, pgn);
             }              }
         }          }
         if (p1)          efree(p1);
             free(p1);  
         Lst_Close (cgn->iParents);          Lst_Close (cgn->iParents);
     }      }
 }  }
Line 616 
Line 614 
              */               */
             Var_Append(OODATE, child, pgn);              Var_Append(OODATE, child, pgn);
         }          }
         if (p1)          efree(p1);
             free(p1);  
     }      }
     return (0);      return (0);
 }  }
Line 660 
Line 657 
     if (gn->type & OP_JOIN) {      if (gn->type & OP_JOIN) {
         char *p1;          char *p1;
         Var_Set (TARGET, Var_Value (ALLSRC, gn, &p1), gn);          Var_Set (TARGET, Var_Value (ALLSRC, gn, &p1), gn);
         if (p1)          efree(p1);
             free(p1);  
     }      }
 }  }
   
Line 906 
Line 902 
         (void)MakeStartJobs();          (void)MakeStartJobs();
     }      }
   
     errors = Job_End();      errors = Job_Finish();
   
     /*      /*
      * Print the final status of each target. E.g. if it wasn't made       * Print the final status of each target. E.g. if it wasn't made

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