Date: Wed, 7 Nov 2001 20:30:03 -0800 (PST) From: "Matthew Emmerton" <matt@gsicomp.on.ca> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/24377: make(1) does not correctly substitute in internal macros like $(@F:.o=.c) Message-ID: <200111080430.fA84U3172239@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/24377; it has been noted by GNATS.
From: "Matthew Emmerton" <matt@gsicomp.on.ca>
To: <freebsd-gnats-submit@FreeBSD.org>,
<Jens.Schweikhardt@marconi.com>
Cc:
Subject: Re: bin/24377: make(1) does not correctly substitute in internal macros like $(@F:.o=.c)
Date: Wed, 7 Nov 2001 23:27:04 -0500
Here's a patch to the 4.3-REL version of make to fix this problem. It's
been tested with the example case in the PR.
Basically, after expanding F or D, we fall-through to the expansion code,
rather than returning right away.
--- var.c.orig Wed Nov 7 23:13:29 2001
+++ var.c Wed Nov 7 23:12:39 2001
@@ -1622,8 +1622,6 @@
*freePtr = TRUE;
*lengthPtr = tstr-start+1;
*tstr = endc;
- Buf_Destroy(buf, TRUE);
- return(val);
}
break;
}
--
Matt Emmerton
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111080430.fA84U3172239>
