39d2a3b
			   READLINE PATCH REPORT
39d2a3b
			   =====================
39d2a3b
39d2a3b
Readline-Release: 5.2
39d2a3b
Patch-ID: readline52-011
39d2a3b
39d2a3b
Bug-Reported-by:	Uwe Doering <gemini@geminix.org>
39d2a3b
Bug-Reference-ID:	<46F3DD72.2090801@geminix.org>
39d2a3b
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2007-09/msg00102.html
39d2a3b
39d2a3b
Bug-Description:
39d2a3b
39d2a3b
There is an off-by-one error in the code that buffers characters received
39d2a3b
very quickly in succession, causing characters to be dropped.
39d2a3b
39d2a3b
Patch:
39d2a3b
39d2a3b
*** ../readline-5.2-patched/input.c	2007-08-25 13:47:10.000000000 -0400
39d2a3b
--- input.c	2007-10-12 22:55:25.000000000 -0400
39d2a3b
***************
39d2a3b
*** 155,159 ****
39d2a3b
        pop_index--;
39d2a3b
        if (pop_index < 0)
39d2a3b
! 	pop_index = ibuffer_len - 1;
39d2a3b
        ibuffer[pop_index] = key;
39d2a3b
        return (1);
39d2a3b
--- 155,159 ----
39d2a3b
        pop_index--;
39d2a3b
        if (pop_index < 0)
39d2a3b
! 	pop_index = ibuffer_len;
39d2a3b
        ibuffer[pop_index] = key;
39d2a3b
        return (1);