summaryrefslogtreecommitdiff
path: root/data/bash/bash44-005
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-03 15:10:33 -1000
committerSam Bingner <sam@bingner.com>2018-08-03 15:10:33 -1000
commitdc95bec98f232970a41c9815636efa3b9135fcad (patch)
treee0131743c0c8ddcaff79c88a038fda7695cb11d7 /data/bash/bash44-005
parent135b410607f008d3709a7b1374f3f37924eb9fe4 (diff)
Update bash to 4.4
Diffstat (limited to 'data/bash/bash44-005')
-rw-r--r--data/bash/bash44-00547
1 files changed, 47 insertions, 0 deletions
diff --git a/data/bash/bash44-005 b/data/bash/bash44-005
new file mode 100644
index 000000000..bacd67aea
--- /dev/null
+++ b/data/bash/bash44-005
@@ -0,0 +1,47 @@
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.4
+Patch-ID: bash44-005
+
+Bug-Reported-by: Dr. Werner Fink <werner@suse.de>
+Bug-Reference-ID: <20161107100936.ajnojd7dspirdflf@noether.suse.de>
+Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00054.html
+
+Bug-Description:
+
+Under certain circumstances, a simple command is optimized to eliminate a
+fork, resulting in an EXIT trap not being executed.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.4/builtins/evalstring.c 2016-08-11 14:18:51.000000000 -0400
+--- builtins/evalstring.c 2016-11-08 15:05:07.000000000 -0500
+***************
+*** 105,114 ****
+ *bash_input.location.string == '\0' &&
+ command->type == cm_simple &&
+- #if 0
+ signal_is_trapped (EXIT_TRAP) == 0 &&
+ signal_is_trapped (ERROR_TRAP) == 0 &&
+- #else
+ any_signals_trapped () < 0 &&
+- #endif
+ command->redirects == 0 && command->value.Simple->redirects == 0 &&
+ ((command->flags & CMD_TIME_PIPELINE) == 0) &&
+--- 105,111 ----
+*** ../bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
+--- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 4
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 5
+
+ #endif /* _PATCHLEVEL_H_ */