From cafbc0d09cac98323b41ed546ce7315b9ba4b6a0 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 20 Oct 2022 13:01:46 +0100 Subject: make: $+ should support D/F modifiers The code to handle the modifiers for 'directory part' and 'filename part' has been updated to support the $+ internal macro. --- miscutils/make.c | 1 + 1 file changed, 1 insertion(+) diff --git a/miscutils/make.c b/miscutils/make.c index f50ffbbef..49d10f5f5 100644 --- a/miscutils/make.c +++ b/miscutils/make.c @@ -1051,6 +1051,7 @@ expand_macros(const char *str, int except_dollar) modifier = '\0'; switch (name[0]) { case '^': + case '+': if (posix) break; // fall through -- cgit v1.2.3-55-g6feb