summaryrefslogtreecommitdiffstats
path: root/package/bash/0045-patchlevel-45.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-06-29 20:49:31 +0200
committerPeter Korsgaard <peter@korsgaard.com>2016-06-29 22:07:48 +0200
commite63ea7faa26faa4464045c4def88de5df01f3ec5 (patch)
tree53e16bdba542b59a66b47e404d340918089e2be1 /package/bash/0045-patchlevel-45.patch
parent952e2a787a8601b04c9955eabc20cf25fc0c5c81 (diff)
downloadbuildroot-e63ea7faa26faa4464045c4def88de5df01f3ec5.tar.gz
buildroot-e63ea7faa26faa4464045c4def88de5df01f3ec5.zip
package/bash: bump to patchlevel 46
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/bash/0045-patchlevel-45.patch')
-rw-r--r--package/bash/0045-patchlevel-45.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/package/bash/0045-patchlevel-45.patch b/package/bash/0045-patchlevel-45.patch
new file mode 100644
index 0000000000..bb11b1a055
--- /dev/null
+++ b/package/bash/0045-patchlevel-45.patch
@@ -0,0 +1,56 @@
+From http://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-045
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.3
+Patch-ID: bash43-045
+
+Bug-Reported-by: Basin Ilya <basinilya@gmail.com>
+Bug-Reference-ID: <5624C0AC.8070802@gmail.com>
+Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2015-10/msg00141.html
+
+Bug-Description:
+
+If a file open attempted as part of a redirection fails because it is interrupted
+by a signal, the shell needs to process any pending traps to allow the redirection
+to be canceled.
+
+Patch (apply with `patch -p0'):
+
+*** a/redir.c 2014-12-03 10:47:38.000000000 -0500
+--- b/redir.c 2015-01-16 10:15:47.000000000 -0500
+***************
+*** 672,676 ****
+ e = errno;
+ if (fd < 0 && e == EINTR)
+! QUIT;
+ errno = e;
+ }
+--- 672,679 ----
+ e = errno;
+ if (fd < 0 && e == EINTR)
+! {
+! QUIT;
+! run_pending_traps ();
+! }
+ errno = e;
+ }
+
+*** a/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
+--- b/patchlevel.h 2014-03-20 20:01:28.000000000 -0400
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 44
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 45
+
+ #endif /* _PATCHLEVEL_H_ */
OpenPOWER on IntegriCloud