bump version
[buildroot.git] / package / readline / readline52-001
blob0bec9a278c8dd15abd57c74b3e74f86d4f6e6e7d
1                            READLINE PATCH REPORT
2                            =====================
4 Readline-Release: 5.2
5 Patch-ID: readline52-001
7 Bug-Reported-by:        ebb9@byu.net
8 Bug-Reference-ID:       <45540862.9030900@byu.net>
9 Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00017.html
10                         http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00016.html
12 Bug-Description:
14 In some cases, code that is intended to be used in the presence of multibyte
15 characters is called when no such characters are present, leading to incorrect
16 display position calculations and incorrect redisplay.
18 Patch:
20 *** ../readline-5.2/display.c   Thu Sep 14 14:20:12 2006
21 --- display.c   Mon Nov 13 17:55:57 2006
22 ***************
23 *** 2381,2384 ****
24 --- 2409,2414 ----
25     if (end <= start)
26       return 0;
27 +   if (MB_CUR_MAX == 1 || rl_byte_oriented)
28 +     return (end - start);
29   
30     memset (&ps, 0, sizeof (mbstate_t));