From 0afbbf8595b6035a5a930399d20320d2e2852d72 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 24 Sep 2009 02:41:44 +0000 Subject: - Rework secondary expansion so we only defer it if there's a possibility it might be needed: for most situations we parse prereqs immediately as we used to. Reduces memory usage. - Fixes Savannah bug #18622. --- function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'function.c') diff --git a/function.c b/function.c index 02dbbf8..a2adc31 100644 --- a/function.c +++ b/function.c @@ -355,7 +355,7 @@ string_glob (char *line) struct nameseq *chain; unsigned int idx; - chain = parse_file_seq (&line, sizeof (struct nameseq), '\0', NULL, + chain = PARSE_FILE_SEQ (&line, struct nameseq, '\0', NULL, /* We do not want parse_file_seq to strip `./'s. That would break examples like: $(patsubst ./%.c,obj/%.o,$(wildcard ./?*.c)). */ -- cgit v1.2.3