mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-11-25 04:35:44 +00:00
(construct_command_argv_internal): After swallowing a backslash-newline
combination, if INSTRING is set goto string_char (new label) for normal INSTRING handling code.
This commit is contained in:
parent
0cb47363e1
commit
5bd9836fba
1 changed files with 2 additions and 1 deletions
3
job.c
3
job.c
|
@ -1241,6 +1241,7 @@ construct_command_argv_internal (line, restp, shell, ifs)
|
|||
|
||||
if (instring)
|
||||
{
|
||||
string_char:
|
||||
/* Inside a string, just copy any char except a closing quote
|
||||
or a backslash-newline combination. */
|
||||
if (*p == '\'')
|
||||
|
@ -1292,7 +1293,7 @@ construct_command_argv_internal (line, restp, shell, ifs)
|
|||
strcpy (p, p + 1);
|
||||
|
||||
if (instring)
|
||||
*ap++ = *p;
|
||||
goto string_char;
|
||||
else
|
||||
{
|
||||
if (ap != new_argv[i])
|
||||
|
|
Loading…
Reference in a new issue