diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2010-01-27 02:08:58 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-01-28 22:31:27 +0100 |
commit | fe6e67ba96b7fedf91faac7992813f7233a5e58b (patch) | |
tree | 46fe50138f19ff53e56245f5081ef07e2de6a309 /package/readline/readline52-011.patch | |
parent | 5ad8ad0c3729ccf7012f414969304950fb58c456 (diff) |
readline: convert to autotools infrastructure
[Peter: renamed patches to get picked up by infrastructure]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/readline/readline52-011.patch')
-rw-r--r-- | package/readline/readline52-011.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/readline/readline52-011.patch b/package/readline/readline52-011.patch new file mode 100644 index 000000000..963632e57 --- /dev/null +++ b/package/readline/readline52-011.patch @@ -0,0 +1,32 @@ + READLINE PATCH REPORT + ===================== + +Readline-Release: 5.2 +Patch-ID: readline52-011 + +Bug-Reported-by: Uwe Doering <gemini@geminix.org> +Bug-Reference-ID: <46F3DD72.2090801@geminix.org> +Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2007-09/msg00102.html + +Bug-Description: + +There is an off-by-one error in the code that buffers characters received +very quickly in succession, causing characters to be dropped. + +Patch: + +*** ../readline-5.2-patched/input.c 2007-08-25 13:47:10.000000000 -0400 +--- ./input.c 2007-10-12 22:55:25.000000000 -0400 +*************** +*** 155,159 **** + pop_index--; + if (pop_index < 0) +! pop_index = ibuffer_len - 1; + ibuffer[pop_index] = key; + return (1); +--- 155,159 ---- + pop_index--; + if (pop_index < 0) +! pop_index = ibuffer_len; + ibuffer[pop_index] = key; + return (1); |