]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.4 patch 11
authorChet Ramey <chet.ramey@case.edu>
Fri, 20 Jan 2017 20:38:49 +0000 (15:38 -0500)
committerChet Ramey <chet.ramey@case.edu>
Fri, 20 Jan 2017 20:38:49 +0000 (15:38 -0500)
patchlevel.h
sig.c

index 8002af7092df8defdf9b412634e5235230357ee2..772676c8135fe7ef5f65e594d77e988e46ca69cb 100644 (file)
@@ -25,6 +25,6 @@
    regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
    looks for to find the patch level (for the sccs version string). */
 
-#define PATCHLEVEL 10
+#define PATCHLEVEL 11
 
 #endif /* _PATCHLEVEL_H_ */
diff --git a/sig.c b/sig.c
index ad016313394aed0ef7c5b9afe3123373506222c2..e5bb73997a89bc125b3c1df637c3bc355a93ab6a 100644 (file)
--- a/sig.c
+++ b/sig.c
@@ -585,7 +585,8 @@ termsig_handler (sig)
 #if defined (JOB_CONTROL)
   if (sig == SIGHUP && (interactive || (subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB))))
     hangup_all_jobs ();
-  end_job_control ();
+  if ((subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB)) == 0)
+    end_job_control ();
 #endif /* JOB_CONTROL */
 
 #if defined (PROCESS_SUBSTITUTION)