summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorHartmut Becker <becker.ismaning@freenet.de>2014-09-18 23:49:49 +0200
committerPaul Smith <psmith@gnu.org>2014-09-30 08:12:46 -0400
commitb11bef0bea091d0cfa0365bfe3a50a44be9a1bfd (patch)
tree0d14c324510e0fa97a8301594e7e98b1cf4666d6 /job.c
parentbd716a1ec15de746138c15d6d69fad3d0cd8e1c9 (diff)
downloadgunmake-b11bef0bea091d0cfa0365bfe3a50a44be9a1bfd.tar.gz
* job.c: fix make action continuation lines.
* vmsjobs.c: fix writing DCL command files when trimming (white spaces and $ signs) especially after a split (command continuation).
Diffstat (limited to 'job.c')
-rw-r--r--job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/job.c b/job.c
index f650a53..cb10f64 100644
--- a/job.c
+++ b/job.c
@@ -1233,6 +1233,8 @@ start_job_command (struct child *child)
{
if (*s == '"')
instring = !instring;
+ else if (*s == '\\' && !instring && *(s+1) != 0)
+ s++;
else if (*s == '\n' && !instring)
{
end = s;