From: Roland McGrath Date: Fri, 24 Jun 1994 09:40:13 +0000 (+0000) Subject: (construct_command_argv_internal): After swallowing a backslash-newline X-Git-Tag: 3.71.2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5bd9836fba1c0a2fb43f546b19fcd330d56ffeb3;p=platform%2Fupstream%2Fmake.git (construct_command_argv_internal): After swallowing a backslash-newline combination, if INSTRING is set goto string_char (new label) for normal INSTRING handling code. --- diff --git a/job.c b/job.c index 954c0c9..335c6a1 100644 --- a/job.c +++ b/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])