Remove BR2_DEPRECATED
[buildroot-gz.git] / package / bash / 0045-patchlevel-45.patch
blobbb11b1a0551e5328a53f6e69e0f8213ea481e20c
1 From http://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-045
3 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
5 BASH PATCH REPORT
6 =================
8 Bash-Release: 4.3
9 Patch-ID: bash43-045
11 Bug-Reported-by: Basin Ilya <basinilya@gmail.com>
12 Bug-Reference-ID: <5624C0AC.8070802@gmail.com>
13 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2015-10/msg00141.html
15 Bug-Description:
17 If a file open attempted as part of a redirection fails because it is interrupted
18 by a signal, the shell needs to process any pending traps to allow the redirection
19 to be canceled.
21 Patch (apply with `patch -p0'):
23 *** a/redir.c 2014-12-03 10:47:38.000000000 -0500
24 --- b/redir.c 2015-01-16 10:15:47.000000000 -0500
25 ***************
26 *** 672,676 ****
27 e = errno;
28 if (fd < 0 && e == EINTR)
29 ! QUIT;
30 errno = e;
32 --- 672,679 ----
33 e = errno;
34 if (fd < 0 && e == EINTR)
35 ! {
36 ! QUIT;
37 ! run_pending_traps ();
38 ! }
39 errno = e;
42 *** a/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
43 --- b/patchlevel.h 2014-03-20 20:01:28.000000000 -0400
44 ***************
45 *** 26,30 ****
46 looks for to find the patch level (for the sccs version string). */
48 ! #define PATCHLEVEL 44
50 #endif /* _PATCHLEVEL_H_ */
51 --- 26,30 ----
52 looks for to find the patch level (for the sccs version string). */
54 ! #define PATCHLEVEL 45
56 #endif /* _PATCHLEVEL_H_ */