Undo last commit. This was not my hisenbug. :-P
authorMax Okumoto <okumoto@dragonflybsd.org>
Wed, 23 Mar 2005 20:58:35 +0000 (20:58 +0000)
committerMax Okumoto <okumoto@dragonflybsd.org>
Wed, 23 Mar 2005 20:58:35 +0000 (20:58 +0000)
usr.bin/make/var.c

index 7b303fb..55072c7 100644 (file)
@@ -37,7 +37,7 @@
  *
  * @(#)var.c   8.3 (Berkeley) 3/19/94
  * $FreeBSD: src/usr.bin/make/var.c,v 1.83 2005/02/11 10:49:01 harti Exp $
- * $DragonFly: src/usr.bin/make/var.c,v 1.180 2005/03/23 05:02:37 okumoto Exp $
+ * $DragonFly: src/usr.bin/make/var.c,v 1.181 2005/03/23 20:58:35 okumoto Exp $
  */
 
 /*-
@@ -588,7 +588,7 @@ Var_Value(const char *name, GNode *ctxt, char **frp)
                p = NULL;
                *frp = NULL;
        } else if (v->flags & VAR_FROM_ENV) {
-               p = estrdup(Buf_Data(v->val));
+               p = Buf_Data(v->val);
                *frp = p;
                VarDestroy(v, FALSE);
        } else {