From 40a49f244da5b417af8bede84ac221cee2318d88 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 22 Jul 2013 02:19:13 -0400 Subject: [Bug #39310] Parse simple pattern prereqs for globbing. We tried to get some efficiency by avoiding a parse_file_seq() for simple pattern prerequisites, but this also means no wildcard expansion was happening, so add it back. Add regression tests for wildcards in target and prerequisite lists. --- read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'read.c') diff --git a/read.c b/read.c index bc78fa5..834c7f8 100644 --- a/read.c +++ b/read.c @@ -1107,7 +1107,7 @@ eval (struct ebuffer *ebuf, int set_default) /* Make the colon the end-of-string so we know where to stop looking for targets. Start there again once we're done. */ *colonp = '\0'; - filenames = PARSE_FILE_SEQ (&p2, struct nameseq, MAP_NUL, NULL, 0); + filenames = PARSE_SIMPLE_SEQ (&p2, struct nameseq); *colonp = ':'; p2 = colonp; -- cgit v1.2.3