Blame SOURCES/bash-4.4-patch-13.patch
|
|
50ece2 |
From 1aef9c7b55dcef4af239caf93e01419e1c8e04ad Mon Sep 17 00:00:00 2001
|
|
|
50ece2 |
From: Chet Ramey <chet.ramey@case.edu>
|
|
|
50ece2 |
Date: Mon, 29 Jan 2018 16:03:33 -0500
|
|
|
50ece2 |
Subject: [PATCH] Bash-4.4 patch 13
|
|
|
50ece2 |
|
|
|
50ece2 |
---
|
|
|
50ece2 |
patchlevel.h | 2 +-
|
|
|
50ece2 |
redir.c | 2 ++
|
|
|
50ece2 |
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
50ece2 |
|
|
|
50ece2 |
diff --git a/patchlevel.h b/patchlevel.h
|
|
|
50ece2 |
index 93dbe0db..779671cd 100644
|
|
|
50ece2 |
--- a/patchlevel.h
|
|
|
50ece2 |
+++ b/patchlevel.h
|
|
|
50ece2 |
@@ -25,6 +25,6 @@
|
|
|
50ece2 |
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
|
|
50ece2 |
looks for to find the patch level (for the sccs version string). */
|
|
|
50ece2 |
|
|
|
50ece2 |
-#define PATCHLEVEL 12
|
|
|
50ece2 |
+#define PATCHLEVEL 13
|
|
|
50ece2 |
|
|
|
50ece2 |
#endif /* _PATCHLEVEL_H_ */
|
|
|
50ece2 |
diff --git a/redir.c b/redir.c
|
|
|
50ece2 |
index 25488eaf..1858b0b0 100644
|
|
|
50ece2 |
--- a/redir.c
|
|
|
50ece2 |
+++ b/redir.c
|
|
|
50ece2 |
@@ -469,6 +469,8 @@ here_document_to_fd (redirectee, ri)
|
|
|
50ece2 |
return (fd);
|
|
|
50ece2 |
}
|
|
|
50ece2 |
|
|
|
50ece2 |
+ SET_CLOSE_ON_EXEC (fd);
|
|
|
50ece2 |
+
|
|
|
50ece2 |
errno = r = 0; /* XXX */
|
|
|
50ece2 |
/* write_here_document returns 0 on success, errno on failure. */
|
|
|
50ece2 |
if (redirectee->word)
|
|
|
50ece2 |
--
|
|
|
50ece2 |
2.13.6
|
|
|
50ece2 |
|