summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2009-01-06 16:24:22 +0000
committerobrien <obrien@FreeBSD.org>2009-01-06 16:24:22 +0000
commit2fd77860b9c036749ea1b22a224818e1a757a1e3 (patch)
tree06403e60f88369c5f55f351c0706e213bcad2c82 /usr.bin
parent5f71ef0dca1ab4ed0437049b724d8c434bc35a64 (diff)
downloadFreeBSD-src-2fd77860b9c036749ea1b22a224818e1a757a1e3.zip
FreeBSD-src-2fd77860b9c036749ea1b22a224818e1a757a1e3.tar.gz
Note that r186713 also contained a change to VarAdd where we propagate the
newly created 'Var' back to the caller. Also, back out an accidentally commented WIP comment.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/var.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 952f3a3..983bb2a 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -2319,8 +2319,7 @@ match_var(const char str[], const char var[])
* None. The old string must be freed by the caller
*/
Buffer *
-//Var_Subst(const char *var, const char *str, GNode *ctxt, Boolean undefErr)
-Var_Subst( const char *str, GNode *ctxt, Boolean err)
+Var_Subst(const char *str, GNode *ctxt, Boolean err)
{
Boolean errorReported;
Buffer *buf; /* Buffer for forming things */
OpenPOWER on IntegriCloud