]>
Commit | Line | Data |
---|---|---|
4e9fe84f JB |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 3.0 | |
5 | Patch-ID: bash30-008 | |
6 | ||
7 | Bug-Reported-by: uberlord@rsm.demon.co.uk | |
8 | Bug-Reference-ID: <1092327965.4233.1.camel@uberlaptop.ubernet> | |
9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00144.html | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | > Description: | |
14 | > Bash 3 breaks array expansion | |
15 | > | |
16 | > Repeat-By: | |
17 | > #!/bin/bash | |
18 | > x=(one two) | |
19 | > echo ${x[@]:1} | |
20 | > # prints nothing in bash 3 | |
21 | > # prints two in bash 2 | |
22 | ||
23 | Patch: | |
24 | ||
25 | *** ../bash-3.0/subst.c Sun Jul 4 13:56:13 2004 | |
26 | --- subst.c Thu Aug 12 13:36:17 2004 | |
27 | *************** | |
28 | *** 4892,4896 **** | |
29 | *e1p += len; | |
30 | ||
31 | ! if (*e1p >= len || *e1p < 0) | |
32 | return (-1); | |
33 | ||
34 | --- 4912,4916 ---- | |
35 | *e1p += len; | |
36 | ||
37 | ! if (*e1p > len || *e1p < 0) | |
38 | return (-1); | |
39 | ||
40 | ||
41 | *** ../bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001 | |
42 | --- patchlevel.h Thu Sep 2 15:04:32 2004 | |
43 | *************** | |
44 | *** 26,30 **** | |
45 | looks for to find the patch level (for the sccs version string). */ | |
46 | ||
47 | ! #define PATCHLEVEL 7 | |
48 | ||
49 | #endif /* _PATCHLEVEL_H_ */ | |
50 | --- 26,30 ---- | |
51 | looks for to find the patch level (for the sccs version string). */ | |
52 | ||
53 | ! #define PATCHLEVEL 8 | |
54 | ||
55 | #endif /* _PATCHLEVEL_H_ */ |