nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

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

9014c4
From f459cbd8be37b28be1dc90315e0ab51d7f211301 Mon Sep 17 00:00:00 2001
9014c4
From: Chet Ramey <chet.ramey@case.edu>
9014c4
Date: Mon, 14 Nov 2016 14:27:55 -0500
9014c4
Subject: [PATCH] Bash-4.4 patch 5
9014c4
9014c4
---
9014c4
 builtins/evalstring.c | 3 ---
9014c4
 patchlevel.h          | 2 +-
9014c4
 2 files changed, 1 insertion(+), 4 deletions(-)
9014c4
9014c4
diff --git a/builtins/evalstring.c b/builtins/evalstring.c
9014c4
index e221591..6dc756c 100644
9014c4
--- a/builtins/evalstring.c
9014c4
+++ b/builtins/evalstring.c
9014c4
@@ -104,12 +104,9 @@ should_suppress_fork (command)
9014c4
 	  running_trap == 0 &&
9014c4
 	  *bash_input.location.string == '\0' &&
9014c4
 	  command->type == cm_simple &&
9014c4
-#if 0
9014c4
 	  signal_is_trapped (EXIT_TRAP) == 0 &&
9014c4
 	  signal_is_trapped (ERROR_TRAP) == 0 &&
9014c4
-#else
9014c4
 	  any_signals_trapped () < 0 &&
9014c4
-#endif
9014c4
 	  command->redirects == 0 && command->value.Simple->redirects == 0 &&
9014c4
 	  ((command->flags & CMD_TIME_PIPELINE) == 0) &&
9014c4
 	  ((command->flags & CMD_INVERT_RETURN) == 0));
9014c4
diff --git a/patchlevel.h b/patchlevel.h
9014c4
index c059f0b..1bc098b 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 4
9014c4
+#define PATCHLEVEL 5
9014c4
 
9014c4
 #endif /* _PATCHLEVEL_H_ */
9014c4
-- 
9014c4
2.9.3
9014c4