]> git.pld-linux.org Git - packages/bash.git/blame - bash42-007
up to 4.2.45
[packages/bash.git] / bash42-007
CommitLineData
74aff021
AM
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 4.2
5Patch-ID: bash42-007
6
7Bug-Reported-by: Matthias Klose <doko@debian.org>
8Bug-Reference-ID: <4D6FD2AC.1010500@debian.org>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00015.html
10
11Bug-Description:
12
13When used in contexts where word splitting and quote removal were not
14performed, such as case statement word expansion, empty strings
15(either literal or resulting from quoted variables that were unset or
16null) were not expanded correctly, resulting in failure.
17
18Patch (apply with `patch -p0'):
19
20*** ../bash-4.2-patched/subst.c 2011-02-25 12:03:58.000000000 -0500
21--- subst.c 2011-03-03 14:08:23.000000000 -0500
22***************
23*** 4609,4614 ****
24--- 4611,4617 ----
25 if (ifs_firstc == 0)
26 #endif
27 word->flags |= W_NOSPLIT;
28+ word->flags |= W_NOSPLIT2;
29 result = call_expand_word_internal (word, quoted, 0, (int *)NULL, (int *)NULL);
30 expand_no_split_dollar_star = 0;
31
32*** ../bash-4.2-patched/patchlevel.h Sat Jun 12 20:14:48 2010
33--- patchlevel.h Thu Feb 24 21:41:34 2011
34***************
35*** 26,30 ****
36 looks for to find the patch level (for the sccs version string). */
37
38! #define PATCHLEVEL 6
39
40 #endif /* _PATCHLEVEL_H_ */
41--- 26,30 ----
42 looks for to find the patch level (for the sccs version string). */
43
44! #define PATCHLEVEL 7
45
46 #endif /* _PATCHLEVEL_H_ */
This page took 0.031165 seconds and 4 git commands to generate.