]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 56449] (Windows) Use slow path if '%' appears in the command
authorChristian Eggers <ceggers@arri.de>
Thu, 6 Jun 2019 10:42:38 +0000 (12:42 +0200)
committerPaul Smith <psmith@gnu.org>
Sun, 14 Jul 2019 13:28:31 +0000 (09:28 -0400)
commit38e96eadea6e2cd42a0f414959bac327de9f468a
treef3733c1d2fe900950965bbbfa92fa3ecedc349d7
parentd7cfbf196124af2addd3d6f159ab84313f95e665
[SV 56449] (Windows) Use slow path if '%' appears in the command

* src/job.c (sh_chars_dos): Add '%' as a special character
* src/job.c (construct_command_argv_internal): Check for '%' in quotes

For the windows version of make, a recipe line cannot be executed
diretly by make (without a shell) if a '%' character is present. This
character starts a cmd.exe escape sequence.

Signed-off-by: Christian Eggers <ceggers@arri.de>
Copyright-paperwork-exempt: yes
src/job.c