ALT Linux repositórios
Group :: Desenvolvimento/Outros
RPM: make
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: 0003-REDHAT-newlines.patch
Download
Download
From 3c69a88d456920de7d1a937cc184803b0ccdb05c Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Tue, 31 Mar 2020 23:54:35 +0300
Subject: REDHAT: newlines
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
make/src/job.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/make/src/job.c b/make/src/job.c
index b78f279..e068c7b 100644
--- a/make/src/job.c
+++ b/make/src/job.c
@@ -3448,13 +3448,14 @@ construct_command_argv_internal (char *line, char **restp, const char *shell,
#endif
if (PRESERVE_BSNL)
{
- *(ap++) = '\\';
+ *(ap++) = '\'';
/* Only non-batch execution needs another backslash,
because it will be passed through a recursive
invocation of this function. */
if (!batch_mode_shell)
*(ap++) = '\\';
*(ap++) = '\n';
+ *(ap++) = '\'';
}
++p;
continue;
--
2.25.4