summaryrefslogtreecommitdiffstats
path: root/package/readline/readline52-001
diff options
context:
space:
mode:
authorHamish Moffatt <hamish@cloud.net.au>2008-02-06 01:26:58 +0000
committerHamish Moffatt <hamish@cloud.net.au>2008-02-06 01:26:58 +0000
commit83b7c8b381768a83fdca110a740448061ca2d898 (patch)
tree147441f9ce656876ed161a075d60a1c32001b848 /package/readline/readline52-001
parentd53b1d1f93fe0a92eaa92507a31e11a5f31a70d6 (diff)
downloadbuildroot-novena-83b7c8b381768a83fdca110a740448061ca2d898.tar.gz
buildroot-novena-83b7c8b381768a83fdca110a740448061ca2d898.zip
Commit the new upstream patches and remove the old
Diffstat (limited to 'package/readline/readline52-001')
-rw-r--r--package/readline/readline52-00130
1 files changed, 30 insertions, 0 deletions
diff --git a/package/readline/readline52-001 b/package/readline/readline52-001
new file mode 100644
index 000000000..9855f116e
--- /dev/null
+++ b/package/readline/readline52-001
@@ -0,0 +1,30 @@
+ READLINE PATCH REPORT
+ =====================
+
+Readline-Release: 5.2
+Patch-ID: readline52-001
+
+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:
+
+*** ../readline-5.2/display.c Thu Sep 14 14:20:12 2006
+--- readline-5.2/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));