]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/readline/readline52-011
readline-compat: update to 6.3
[ipfire-2.x.git] / src / patches / readline / readline52-011
CommitLineData
f19b3cb6
MT
1 READLINE PATCH REPORT
2 =====================
3
4Readline-Release: 5.2
5Patch-ID: readline52-011
6
7Bug-Reported-by: Uwe Doering <gemini@geminix.org>
8Bug-Reference-ID: <46F3DD72.2090801@geminix.org>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2007-09/msg00102.html
10
11Bug-Description:
12
13There is an off-by-one error in the code that buffers characters received
14very quickly in succession, causing characters to be dropped.
15
16Patch:
17
18*** ../readline-5.2-patched/input.c 2007-08-25 13:47:10.000000000 -0400
19--- input.c 2007-10-12 22:55:25.000000000 -0400
20***************
21*** 155,159 ****
22 pop_index--;
23 if (pop_index < 0)
24! pop_index = ibuffer_len - 1;
25 ibuffer[pop_index] = key;
26 return (1);
27--- 155,159 ----
28 pop_index--;
29 if (pop_index < 0)
30! pop_index = ibuffer_len;
31 ibuffer[pop_index] = key;
32 return (1);