From 3661251b0f9f72be80b78d24aa2882ab8bd6a728 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 19 Jul 2010 19:30:39 +0000 Subject: two small changes: - allow variables in SysV modifiers, as requested by matthieu@ (since recursive variables are an extension, this just extends the extension) - variation on :Q called :QL (quote list), which does quote every character EXCEPT for whitespace. e.g., toto: @for i in ${VAR:QL} ... --- usr.bin/make/targ.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'usr.bin/make/targ.c') diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c index c6522b3ade5..1e0740e7a8a 100644 --- a/usr.bin/make/targ.c +++ b/usr.bin/make/targ.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: targ.c,v 1.60 2010/04/25 13:59:53 espie Exp $ */ +/* $OpenBSD: targ.c,v 1.61 2010/07/19 19:30:37 espie Exp $ */ /* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */ /* @@ -462,3 +462,9 @@ targets_hash() { return &targets; } + +GNode * +Targ_FindNodeh(const char *name, size_t n, uint32_t hv, int flags) +{ + return Targ_FindNodeih(name, name + n - 1, hv, flags); +} -- cgit v1.2.3