summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-04-15 22:29:47 +0000
committerRoland McGrath <roland@redhat.com>1993-04-15 22:29:47 +0000
commitc190a98796e9fb819bedab0b1b2250711aeb6a24 (patch)
treed6a04649eb335074b4f85c6d520af9384e13d933 /function.c
parenta03f503fb72e84f379effcfcadc08d2641d7980a (diff)
downloadmake-c190a98796e9fb819bedab0b1b2250711aeb6a24.tar.gz
Formerly function.c.~24~
Diffstat (limited to 'function.c')
-rw-r--r--function.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/function.c b/function.c
index 4db0a38..6c394da 100644
--- a/function.c
+++ b/function.c
@@ -1141,8 +1141,12 @@ string_glob (line)
register struct nameseq *chain;
register unsigned int idx;
- chain = multi_glob (parse_file_seq (&line, '\0', sizeof (struct nameseq)),
- sizeof (struct nameseq));
+ chain = multi_glob (parse_file_seq (&line, '\0', sizeof (struct nameseq), 0),
+ sizeof (struct nameseq),
+ /* We do not want parse_file_seq to strip `./'s.
+ That would break examples like:
+ $(patsubst ./%.c,obj/%.o,$(wildcard ./*.c)) */
+ 0);
if (result == 0)
{