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

Diff for /src/usr.bin/make/job.c between version 1.14 and 1.15

version 1.14, 1999/11/11 11:35:17 version 1.15, 1999/12/06 22:28:44
Line 1102 
Line 1102 
          * commands           * commands
          */           */
         if ((DEFAULT != NILGNODE) && !Lst_IsEmpty(DEFAULT->commands)) {          if ((DEFAULT != NILGNODE) && !Lst_IsEmpty(DEFAULT->commands)) {
             char *p1;  
             /*              /*
              * Make only looks for a .DEFAULT if the node was never the               * Make only looks for a .DEFAULT if the node was never the
              * target of an operator, so that's what we do too. If               * target of an operator, so that's what we do too. If
Line 1113 
Line 1112 
              * .DEFAULT itself.               * .DEFAULT itself.
              */               */
             Make_HandleUse(DEFAULT, gn);              Make_HandleUse(DEFAULT, gn);
             Var_Set(IMPSRC, Var_Value(TARGET, gn, &p1), gn);              Var_Set(IMPSRC, Var_Value(TARGET, gn), gn);
             efree(p1);  
         } else if (Dir_MTime(gn) == 0) {          } else if (Dir_MTime(gn) == 0) {
             /*              /*
              * The node wasn't the target of an operator we have no .DEFAULT               * The node wasn't the target of an operator we have no .DEFAULT

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15