summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1994-01-13 17:18:30 +0000
committercgd <cgd@NetBSD.org>1994-01-13 17:18:30 +0000
commite11feae6b855511dc0dfd0539767ec12bbefd49a (patch)
tree125b5bcc1dcb2ce61d2ad8b584f4f005ab04c62f /usr.bin/make
parent33a067f307438b4c1de5ae347ec3295d30467198 (diff)
add missing arg to setenv(). reported by downsj@csos.orst.edu
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/var.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index c239fae8a52..e23aef059ea 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -38,7 +38,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)var.c 5.7 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$Id: var.c,v 1.2 1993/08/01 18:11:37 mycroft Exp $";
+static char rcsid[] = "$Id: var.c,v 1.3 1994/01/13 17:18:30 cgd Exp $";
#endif /* not lint */
/*-
@@ -400,7 +400,7 @@ Var_Set (name, val, ctxt)
* to the environment (as per POSIX standard)
*/
if (ctxt == VAR_CMD) {
- setenv(name, val);
+ setenv(name, val, 1);
}
}