diff options
author | Roland McGrath <roland@redhat.com> | 1994-06-24 09:40:13 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-06-24 09:40:13 +0000 |
commit | 5bd9836fba1c0a2fb43f546b19fcd330d56ffeb3 (patch) | |
tree | 98e7f6a7322adc0c0ec8192750b4b38275f6cc26 /job.c | |
parent | 0cb47363e177e9687a7f86de3880010b01b50c85 (diff) | |
download | gunmake-5bd9836fba1c0a2fb43f546b19fcd330d56ffeb3.tar.gz |
(construct_command_argv_internal): After swallowing a backslash-newline
combination, if INSTRING is set goto string_char (new label) for normal
INSTRING handling code.
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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]) |