nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

Blame SOURCES/bash-4.4-patch-13.patch

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