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

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

version 1.5, 1996/11/30 21:09:05 version 1.6, 1997/04/01 07:28:24
Line 1 
Line 1 
 /*      $OpenBSD$       */  /*      $OpenBSD$       */
 /*      $NetBSD: targ.c,v 1.10 1996/11/06 17:59:27 christos Exp $       */  /*      $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $       */
   
 /*  /*
  * Copyright (c) 1988, 1989, 1990, 1993   * Copyright (c) 1988, 1989, 1990, 1993
Line 166 
Line 166 
   
     gn = (GNode *) emalloc (sizeof (GNode));      gn = (GNode *) emalloc (sizeof (GNode));
     gn->name = estrdup (name);      gn->name = estrdup (name);
       gn->uname = NULL;
     gn->path = (char *) 0;      gn->path = (char *) 0;
     if (name[0] == '-' && name[1] == 'l') {      if (name[0] == '-' && name[1] == 'l') {
         gn->type = OP_LIB;          gn->type = OP_LIB;
Line 215 
Line 216 
   
   
     free(gn->name);      free(gn->name);
       if (gn->uname)
           free(gn->uname);
     if (gn->path)      if (gn->path)
         free(gn->path);          free(gn->path);
   

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