]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - bash/patches/bash43-001
bash: Update to 4.3
[people/ms/ipfire-3.x.git] / bash / patches / bash43-001
1 BASH PATCH REPORT
2 =================
3
4 Bash-Release: 4.3
5 Patch-ID: bash43-001
6
7 Bug-Reported-by: NBaH <nbah@sfr.fr>
8 Bug-Reference-ID: <ler0b5$iu9$1@speranza.aioe.org>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2014-02/msg00092.html
10
11 Bug-Description:
12
13 A missing check for a valid option prevented `test -R' from working. There
14 is another problem that causes bash to look up the wrong variable name when
15 processing the argument to `test -R'.
16
17 Patch (apply with `patch -p0'):
18
19 *** ../bash-4.3/test.c 2014-02-04 16:52:58.000000000 -0500
20 --- test.c 2014-02-28 21:22:44.000000000 -0500
21 ***************
22 *** 647,652 ****
23
24 case 'R':
25 ! v = find_variable (arg);
26 ! return (v && invisible_p (v) == 0 && var_isset (v) && nameref_p (v) ? TRUE : FALSE);
27 }
28
29 --- 647,652 ----
30
31 case 'R':
32 ! v = find_variable_noref (arg);
33 ! return ((v && invisible_p (v) == 0 && var_isset (v) && nameref_p (v)) ? TRUE : FALSE);
34 }
35
36 ***************
37 *** 724,727 ****
38 --- 724,728 ----
39 case 'u': case 'v': case 'w': case 'x': case 'z':
40 case 'G': case 'L': case 'O': case 'S': case 'N':
41 + case 'R':
42 return (1);
43 }
44 *** ../bash-4.3/patchlevel.h 2012-12-29 10:47:57.000000000 -0500
45 --- patchlevel.h 2014-03-20 20:01:28.000000000 -0400
46 ***************
47 *** 26,30 ****
48 looks for to find the patch level (for the sccs version string). */
49
50 ! #define PATCHLEVEL 0
51
52 #endif /* _PATCHLEVEL_H_ */
53 --- 26,30 ----
54 looks for to find the patch level (for the sccs version string). */
55
56 ! #define PATCHLEVEL 1
57
58 #endif /* _PATCHLEVEL_H_ */