summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-07-22 02:23:02 -0400
committerPaul Smith <psmith@gnu.org>2013-07-22 02:23:02 -0400
commit7a4d7947a0854e932c501d46fb9fe42c3aa2071d (patch)
tree375c8261aad11579344b11fabba4a74adef327ca /read.c
parentde9068a389bb4f9dbd952abafbd63d90af463320 (diff)
downloadmake-7a4d7947a0854e932c501d46fb9fe42c3aa2071d.tar.gz
[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.
Diffstat (limited to 'read.c')
-rw-r--r--read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.c b/read.c
index bc78fa51..834c7f83 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;