]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 45049] Check for '$' being the last character in a string.
authorPaul Smith <psmith@gnu.org>
Sun, 12 Jul 2015 17:25:16 +0000 (13:25 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 12 Jul 2015 17:25:16 +0000 (13:25 -0400)
commit0205d3d08c810e15ef35475f5792dc049daf2f2c
treefaf35ec9c05fc48e388c144903b9f45527e5dd67
parent9ef06be018627773e6dcea2a37f0e03fea575741
[SV 45049] Check for '$' being the last character in a string.

* expand.c (variable_expand_string): Add a single '$' if '$' ends the
string.
* read.c (find_char_unquote, get_next_mword): Stop if '$' ends the
string.
* variable.c (parse_variable_definition): Ditto.
expand.c
read.c
variable.c