Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)),
commit6f4f8b6cf8ea599577af6c06040cd6e818a6486c
authorpsmith <psmith>
Tue, 21 Sep 2004 04:00:31 +0000 (21 04:00 +0000)
committerpsmith <psmith>
Tue, 21 Sep 2004 04:00:31 +0000 (21 04:00 +0000)
tree680847d240ea1653a704eeb401641d584571a052
parente6d058387c1588d91f1144f36e08d149323d0fc5
Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)),
reported by Markus Mauhart <qwe123@chello.at>.  One was a simple typo; to
fix the other we call patsubst_expand() for all instances of variable
substitution, even when there is no '%'.  We used to call subst_expand()
with a special flag set in the latter case, but it didn't work properly
in all situations.  Easier to just use patsubst_expand() since that's
what it is.
ChangeLog
expand.c
function.c
job.c
read.c
tests/ChangeLog
tests/run_make_tests.pl
tests/scripts/functions/substitution
variable.h