]> git.pld-linux.org Git - packages/bash.git/blame - bash32-046
- up to 4.0.10
[packages/bash.git] / bash32-046
CommitLineData
2c5ed6e3
AG
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 3.2
5Patch-ID: bash32-046
6
7Bug-Reported-by: Wang Xin <wxinee@gmail.com>
8Bug-Reference-ID: <9a73e1570807062042ide16698m10e1b18036c95592@mail.gmail.com>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2008-07/msg00014.html
10
11Bug-Description:
12
13Bash did not compute the length of multibyte characters correctly when
14performing array element length references (e.g., ${#var[subscript]}).
15
16Patch:
17
18*** /usr/src/local/bash/bash-3.2-patched/subst.c 2008-04-28 22:00:20.000000000 -0400
19--- subst.c 2008-11-10 22:02:38.000000000 -0500
20***************
21*** 4813,4817 ****
22 t = (ind == 0) ? value_cell (var) : (char *)NULL;
23
24! len = STRLEN (t);
25 return (len);
26 }
27--- 4813,4817 ----
28 t = (ind == 0) ? value_cell (var) : (char *)NULL;
29
30! len = MB_STRLEN (t);
31 return (len);
32 }
33*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
34--- patchlevel.h Mon Oct 16 14:22:54 2006
35***************
36*** 26,30 ****
37 looks for to find the patch level (for the sccs version string). */
38
39! #define PATCHLEVEL 45
40
41 #endif /* _PATCHLEVEL_H_ */
42--- 26,30 ----
43 looks for to find the patch level (for the sccs version string). */
44
45! #define PATCHLEVEL 46
46
47 #endif /* _PATCHLEVEL_H_ */
This page took 0.217178 seconds and 4 git commands to generate.