]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 56655] Allow pattern expansion to contain spaces
authorPaul Smith <psmith@gnu.org>
Thu, 26 Dec 2019 23:39:56 +0000 (18:39 -0500)
committerPaul Smith <psmith@gnu.org>
Thu, 26 Dec 2019 23:39:56 +0000 (18:39 -0500)
commit564fb212a727a6b6773f454d192a7e02de62d2ef
treea80bdb08f01875f1795c87ef5c0bbb939221829a
parent30cc10093b4b17d6a823fa7cc96cd937115af9fb
[SV 56655] Allow pattern expansion to contain spaces

* src/dep.h: Add a new flag PARSEFS_ONEWORD
* src/read.c (parse_file_seq): If PARSEFS_ONEWORD is given, treat the
entire incoming string as a single pattern.
* src/implicit.c (pattern_search): Pass PARSEFS_ONEWORD when parsing
patterns for wildcards.
* tests/scripts/features/patternrules: Add a new test.
src/dep.h
src/implicit.c
src/read.c
tests/scripts/features/patternrules