summaryrefslogtreecommitdiff
path: root/for.c
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-10-21 22:14:23 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-10-21 22:14:23 +0000
commitce40971ce25292a0274be1ca4e5af0a73db78dd7 (patch)
treed7eab348ace3502aaee7945d4b0bcb50781b42e2 /for.c
parentc86c1f125473a6b9db0e9922867cd9c8b9a9b840 (diff)
Notes
Diffstat (limited to 'for.c')
-rw-r--r--for.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/for.c b/for.c
index 33bcf1392b8e..7f10e5626f9a 100644
--- a/for.c
+++ b/for.c
@@ -1,4 +1,4 @@
-/* $NetBSD: for.c,v 1.49 2012/06/03 04:29:40 sjg Exp $ */
+/* $NetBSD: for.c,v 1.50 2015/10/11 04:51:24 sjg Exp $ */
/*
* Copyright (c) 1992, The Regents of the University of California.
@@ -30,14 +30,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: for.c,v 1.49 2012/06/03 04:29:40 sjg Exp $";
+static char rcsid[] = "$NetBSD: for.c,v 1.50 2015/10/11 04:51:24 sjg Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: for.c,v 1.49 2012/06/03 04:29:40 sjg Exp $");
+__RCSID("$NetBSD: for.c,v 1.50 2015/10/11 04:51:24 sjg Exp $");
#endif
#endif /* not lint */
#endif
@@ -216,7 +216,7 @@ For_Eval(char *line)
* We can't do the escapes here - because we don't know whether
* we are substuting into ${...} or $(...).
*/
- sub = Var_Subst(NULL, ptr, VAR_GLOBAL, FALSE);
+ sub = Var_Subst(NULL, ptr, VAR_GLOBAL, FALSE, TRUE);
/*
* Split into words allowing for quoted strings.