diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-18 21:04:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-18 21:04:48 +0000 |
commit | 4ae49294a46a50949dd0d3a7b69b2d7d026e9dec (patch) | |
tree | ea6530a51a2ba8213f8742d832bd880fd2ca921d /package/bash/bash30-008 | |
parent | a72e82f6dce4a01911a128fc5b8cd6b0828c2bc8 (diff) |
bash-3.0
Diffstat (limited to 'package/bash/bash30-008')
-rw-r--r-- | package/bash/bash30-008 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/package/bash/bash30-008 b/package/bash/bash30-008 new file mode 100644 index 000000000..57c2c6a45 --- /dev/null +++ b/package/bash/bash30-008 @@ -0,0 +1,55 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 3.0 +Patch-ID: bash30-008 + +Bug-Reported-by: uberlord@rsm.demon.co.uk +Bug-Reference-ID: <1092327965.4233.1.camel@uberlaptop.ubernet> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00144.html + +Bug-Description: + +> Description: +> Bash 3 breaks array expansion +> +> Repeat-By: +> #!/bin/bash +> x=(one two) +> echo ${x[@]:1} +> # prints nothing in bash 3 +> # prints two in bash 2 + +Patch: + +*** ../bash-3.0/subst.c Sun Jul 4 13:56:13 2004 +--- subst.c Thu Aug 12 13:36:17 2004 +*************** +*** 4892,4896 **** + *e1p += len; + +! if (*e1p >= len || *e1p < 0) + return (-1); + +--- 4912,4916 ---- + *e1p += len; + +! if (*e1p > len || *e1p < 0) + return (-1); + + +*** ../bash-3.0/patchlevel.h Wed Aug 22 08:05:39 2001 +--- patchlevel.h Thu Sep 2 15:04:32 2004 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 7 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 8 + + #endif /* _PATCHLEVEL_H_ */ |