sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by George Sherwood (912e79178d1d9b2c06589b4a6df49221a23372f7)
- From: George Sherwood <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by George Sherwood (912e79178d1d9b2c06589b4a6df49221a23372f7)
- Date: Sun, 31 Dec 2006 01:40:39 -0600
GIT changes to master grimoire by George Sherwood <chat AT sourcemage.org>:
libs/readline/DETAILS | 2 +-
libs/readline/HISTORY | 5 +++++
libs/readline/PRE_BUILD | 2 ++
libs/readline/readline52-001 | 30 ++++++++++++++++++++++++++++++
4 files changed, 38 insertions(+), 1 deletion(-)
New commits:
commit 912e79178d1d9b2c06589b4a6df49221a23372f7
Author: George Sherwood <chat AT sourcemage.org>
Commit: George Sherwood <chat AT sourcemage.org>
readline: Updated to Official Patch 1
diff --git a/libs/readline/DETAILS b/libs/readline/DETAILS
index 28622e8..0d26d47 100755
--- a/libs/readline/DETAILS
+++ b/libs/readline/DETAILS
@@ -9,7 +9,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
LICENSE[0]=GPL
WEB_SITE=http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
ENTERED=20010922
- PATCHLEVEL=0
+ PATCHLEVEL=1
KEYWORDS="libs"
SHORT="readline lets users edit command lines as they are typed
in."
cat << EOF
diff --git a/libs/readline/HISTORY b/libs/readline/HISTORY
index 306d848..96455a3 100644
--- a/libs/readline/HISTORY
+++ b/libs/readline/HISTORY
@@ -1,3 +1,8 @@
+2006-12-31 George Sherwood <george AT beernabeer.com>
+ * DETAILS: PATCHLEVEL++
+ * PRE_BUILD: added patch readline52-001
+ * readline52-001: Added
ftp://ftp.cwru.edu/pub/bash/readline-5.2-patches
+
2006-10-12 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 5.2
* PRE_BUILD, readline51-00{1,2,3,4}: removed patches
diff --git a/libs/readline/PRE_BUILD b/libs/readline/PRE_BUILD
index 2b777da..c1f6c2c 100755
--- a/libs/readline/PRE_BUILD
+++ b/libs/readline/PRE_BUILD
@@ -1,5 +1,7 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
+patch -p0 < $SCRIPT_DIRECTORY/readline52-001 &&
+
# Dynamically link against termcap or ncurses
sedit "s/SHLIB_LIBS =/SHLIB_LIBS = @TERMCAP_LIB@/" shlib/Makefile.in
diff --git a/libs/readline/readline52-001 b/libs/readline/readline52-001
new file mode 100644
index 0000000..0bec9a2
--- /dev/null
+++ b/libs/readline/readline52-001
@@ -0,0 +1,30 @@
+ READLINE PATCH REPORT
+ =====================
+
+Readline-Release: 5.2
+Patch-ID: readline52-001
+
+Bug-Reported-by: ebb9 AT byu.net
+Bug-Reference-ID: <45540862.9030900 AT 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
+--- 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));
- [SM-Commit] GIT changes to master grimoire by George Sherwood (912e79178d1d9b2c06589b4a6df49221a23372f7), George Sherwood, 12/31/2006
Archive powered by MHonArc 2.6.24.