summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-21 08:10:21 +0000
committerharti <harti@FreeBSD.org>2005-02-21 08:10:21 +0000
commitba26f6388f5997a5c77a8705e2ecfc8641981fe1 (patch)
tree0be83d877418969b699c9b22abdf5bf55a3a893d /usr.bin/make
parentdd84d5412cf5d24c5d95740430e2123910c916bf (diff)
downloadFreeBSD-src-ba26f6388f5997a5c77a8705e2ecfc8641981fe1.zip
FreeBSD-src-ba26f6388f5997a5c77a8705e2ecfc8641981fe1.tar.gz
Forgot to set *freePtr to FALSE in another place.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/var.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 4919f72..4527f62 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -1108,6 +1108,7 @@ Var_Parse(char *str, GNode *ctxt, Boolean err, size_t *lengthPtr,
* when dynamic sources are expanded.
*/
/* XXX: It looks like $% and $! are reversed here */
+ *freePtr = FALSE;
switch (str[1]) {
case '@':
return ("$(.TARGET)");
OpenPOWER on IntegriCloud