[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.2 and 1.3

version 1.2, 1996/03/27 19:32:38 version 1.3, 1996/09/02 16:04:14
Line 1 
Line 1 
 /*      $OpenBSD$       */  /*      $OpenBSD$       */
 /*      $NetBSD: make.c,v 1.8 1996/03/15 21:52:37 christos Exp $        */  /*      $NetBSD: make.c,v 1.9 1996/08/30 23:21:10 christos Exp $        */
   
 /*  /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.   * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
Line 580 
Line 580 
     GNode       *pgn = (GNode *) pgnp;      GNode       *pgn = (GNode *) pgnp;
     if ((cgn->type & (OP_EXEC|OP_USE|OP_INVISIBLE)) == 0) {      if ((cgn->type & (OP_EXEC|OP_USE|OP_INVISIBLE)) == 0) {
         char *child;          char *child;
         char *p1;          char *p1 = NULL;
   
         child = Var_Value(TARGET, cgn, &p1);          if (OP_NOP(cgn->type)) {
               /*
                * this node is only source; use the specific pathname for it
                */
               child = cgn->path ? cgn->path : cgn->name;
           }
           else
               child = Var_Value(TARGET, cgn, &p1);
         Var_Append (ALLSRC, child, pgn);          Var_Append (ALLSRC, child, pgn);
         if (pgn->type & OP_JOIN) {          if (pgn->type & OP_JOIN) {
             if (cgn->made == MADE) {              if (cgn->made == MADE) {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3