diff options
author | Jay Freeman <saurik@saurik.com> | 2008-09-23 11:43:49 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-09-23 11:43:49 +0000 |
commit | 8f0c8cd5bae73e1f7b83a46e74a6bc8b29fed626 (patch) | |
tree | 056048f610d6add406db2b4e36e1cbbf1dc342eb /data/bash/bash32-006 | |
parent | 18952204d8b0dd4568e01cef340abd57f220f591 (diff) |
Upgraded to bash 3.2.39.
git-svn-id: http://svn.telesphoreo.org/trunk@484 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/bash/bash32-006')
-rw-r--r-- | data/bash/bash32-006 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/data/bash/bash32-006 b/data/bash/bash32-006 new file mode 100644 index 000000000..589db9e59 --- /dev/null +++ b/data/bash/bash32-006 @@ -0,0 +1,45 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 3.2 +Patch-ID: bash32-006 + +Bug-Reported-by: ebb9@byu.net +Bug-Reference-ID: <45540862.9030900@byu.net> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00017.html + http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00016.html + +Bug-Description: + +In some cases, code that is intended to be used in the presence of multibyte +characters is called when no such characters are present, leading to incorrect +display position calculations and incorrect redisplay. + +Patch: + +*** ../bash-3.2-patched/lib/readline/display.c Thu Sep 14 14:20:12 2006 +--- lib/readline/display.c Mon Nov 13 17:55:57 2006 +*************** +*** 2381,2384 **** +--- 2409,2414 ---- + if (end <= start) + return 0; ++ if (MB_CUR_MAX == 1 || rl_byte_oriented) ++ return (end - start); + + memset (&ps, 0, sizeof (mbstate_t)); +*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006 +--- patchlevel.h Mon Oct 16 14:22:54 2006 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 5 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 6 + + #endif /* _PATCHLEVEL_H_ */ |