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

3fb13f
From 76bb456d8fcd870cd31b7bf9d90798cd97cee2ab Mon Sep 17 00:00:00 2001
3fb13f
From: Chet Ramey <chet.ramey@case.edu>
3fb13f
Date: Fri, 20 Jan 2017 15:38:49 -0500
3fb13f
Subject: [PATCH] Bash-4.4 patch 11
3fb13f
3fb13f
---
3fb13f
 patchlevel.h | 2 +-
3fb13f
 sig.c        | 3 ++-
3fb13f
 2 files changed, 3 insertions(+), 2 deletions(-)
3fb13f
3fb13f
diff --git a/patchlevel.h b/patchlevel.h
3fb13f
index 8002af7..772676c 100644
3fb13f
--- a/patchlevel.h
3fb13f
+++ b/patchlevel.h
3fb13f
@@ -25,6 +25,6 @@
3fb13f
    regexp `^#define[ 	]*PATCHLEVEL', since that's what support/mkversion.sh
3fb13f
    looks for to find the patch level (for the sccs version string). */
3fb13f
 
3fb13f
-#define PATCHLEVEL 10
3fb13f
+#define PATCHLEVEL 11
3fb13f
 
3fb13f
 #endif /* _PATCHLEVEL_H_ */
3fb13f
diff --git a/sig.c b/sig.c
3fb13f
index ad01631..e5bb739 100644
3fb13f
--- a/sig.c
3fb13f
+++ b/sig.c
3fb13f
@@ -585,7 +585,8 @@ termsig_handler (sig)
3fb13f
 #if defined (JOB_CONTROL)
3fb13f
   if (sig == SIGHUP && (interactive || (subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB))))
3fb13f
     hangup_all_jobs ();
3fb13f
-  end_job_control ();
3fb13f
+  if ((subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB)) == 0)
3fb13f
+    end_job_control ();
3fb13f
 #endif /* JOB_CONTROL */
3fb13f
 
3fb13f
 #if defined (PROCESS_SUBSTITUTION)
3fb13f
-- 
3fb13f
2.9.3
3fb13f