Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (b3566f0663df3272bdc788890b05fc8d5a3eeac2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (b3566f0663df3272bdc788890b05fc8d5a3eeac2)
  • Date: Thu, 12 Oct 2006 06:15:42 -0500

GIT changes to master grimoire by Ladislav Hagara <ladislav.hagara AT unob.cz>:

libs/readline/DETAILS | 6 +-
libs/readline/HISTORY | 4 +
libs/readline/PRE_BUILD | 4 -
libs/readline/readline51-001 | 77 ------------------------------------
libs/readline/readline51-002 | 43 --------------------
libs/readline/readline51-003 | 29 -------------
libs/readline/readline51-004 | 90
-------------------------------------------
7 files changed, 7 insertions(+), 246 deletions(-)

New commits:
commit b3566f0663df3272bdc788890b05fc8d5a3eeac2
Author: Ladislav Hagara <ladislav.hagara AT unob.cz>
Commit: Ladislav Hagara <ladislav.hagara AT unob.cz>

readline 5.2

diff --git a/libs/readline/DETAILS b/libs/readline/DETAILS
index 4aedfc1..28622e8 100755
--- a/libs/readline/DETAILS
+++ b/libs/readline/DETAILS
@@ -1,15 +1,15 @@
SPELL=readline
- VERSION=5.1
+ VERSION=5.2
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=$GNU_URL/$SPELL/$SOURCE
SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$SPELL/$SOURCE
SOURCE_URL[2]=ftp://ftp.cwru.edu/pub/bash/$SOURCE
-
SOURCE_HASH=sha512:0b0fd8af5e898593380e8534579c8b056bb88753213dab75451421c16e553c6c60f617a96d94eb6e368b9dfb64daeaa7ade9e29d7c183da3df5fbec70ba3675a
+
SOURCE_HASH=sha512:74318b32c56e888716bda2507228ecc374a24e85b2faeec4778227a9f04eb19de1fc8468c78746954c84f9e616a06dd0f8a4332ba4b438fefb7e222699baa379
LICENSE[0]=GPL
WEB_SITE=http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
ENTERED=20010922
- PATCHLEVEL=7
+ PATCHLEVEL=0
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 8628d8a..306d848 100644
--- a/libs/readline/HISTORY
+++ b/libs/readline/HISTORY
@@ -1,3 +1,7 @@
+2006-10-12 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 5.2
+ * PRE_BUILD, readline51-00{1,2,3,4}: removed patches
+
2006-09-22 Juuso Alasuutari <iuso AT sourcemage.org>
* CONFIGURE: Adding this now, forgot...
* DETAILS: PATCHLEVEL++
diff --git a/libs/readline/PRE_BUILD b/libs/readline/PRE_BUILD
index 752f4ea..2b777da 100755
--- a/libs/readline/PRE_BUILD
+++ b/libs/readline/PRE_BUILD
@@ -1,9 +1,5 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
-patch -p0 < $SCRIPT_DIRECTORY/readline51-001 &&
-patch -p0 < $SCRIPT_DIRECTORY/readline51-002 &&
-patch -p0 < $SCRIPT_DIRECTORY/readline51-003 &&
-patch -p0 < $SCRIPT_DIRECTORY/readline51-004 &&

# Dynamically link against termcap or ncurses
sedit "s/SHLIB_LIBS =/SHLIB_LIBS = @TERMCAP_LIB@/" shlib/Makefile.in
diff --git a/libs/readline/readline51-001 b/libs/readline/readline51-001
deleted file mode 100644
index c36b3e1..0000000
--- a/libs/readline/readline51-001
+++ /dev/null
@@ -1,77 +0,0 @@
- READLINE PATCH REPORT
- =====================
-
-Readline-Release: 5.1
-Patch-ID: readline51-001
-
-Bug-Reported-by: Andreas Schwab <schwab AT suse.de>
-Bug-Reference-ID: <20051213141916.4014A394BFABD AT sykes.suse.de>
-Bug-Reference-URL:
http://lists.gnu.org/archive/html/bug-bash/2005-12/msg00038.html
-
-Bug-Description:
-
-A problem with the readline callback interface can result in segmentation
-faults when using the delete-char function via a multiple-key sequence.
-Two consecutive calls to delete-char will crash the application calling
-readline.
-
-Patch:
-
-*** ../readline-5.1/readline.c Mon Jul 4 22:29:35 2005
---- readline.c Tue Dec 20 17:38:29 2005
-***************
-*** 715,719 ****
- rl_dispatching = 1;
- RL_SETSTATE(RL_STATE_DISPATCHING);
-! r = (*map[key].function)(rl_numeric_arg * rl_arg_sign, key);
- RL_UNSETSTATE(RL_STATE_DISPATCHING);
- rl_dispatching = 0;
---- 715,719 ----
- rl_dispatching = 1;
- RL_SETSTATE(RL_STATE_DISPATCHING);
-! (*map[key].function)(rl_numeric_arg * rl_arg_sign, key);
- RL_UNSETSTATE(RL_STATE_DISPATCHING);
- rl_dispatching = 0;
-*** ../readline-5.1/text.c Sat Sep 24 19:06:07 2005
---- text.c Tue Dec 20 17:38:26 2005
-***************
-*** 1072,1077 ****
- int count, key;
- {
-- int r;
--
- if (count < 0)
- return (_rl_rubout_char (-count, key));
---- 1072,1075 ----
-***************
-*** 1091,1097 ****
- rl_forward_byte (count, key);
-
-! r = rl_kill_text (orig_point, rl_point);
- rl_point = orig_point;
-- return r;
- }
- else
---- 1089,1094 ----
- rl_forward_byte (count, key);
-
-! rl_kill_text (orig_point, rl_point);
- rl_point = orig_point;
- }
- else
-***************
-*** 1100,1105 ****
-
- new_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1,
MB_FIND_NONZERO);
-! return (rl_delete_text (rl_point, new_point));
- }
- }
-
---- 1097,1103 ----
-
- new_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1,
MB_FIND_NONZERO);
-! rl_delete_text (rl_point, new_point);
- }
-+ return 0;
- }
-
diff --git a/libs/readline/readline51-002 b/libs/readline/readline51-002
deleted file mode 100644
index 48392f8..0000000
--- a/libs/readline/readline51-002
+++ /dev/null
@@ -1,43 +0,0 @@
- READLINE PATCH REPORT
- =====================
-
-Readline-Release: 5.1
-Patch-ID: readline51-002
-
-Bug-Reported-by: Mike Frysinger <vapier AT gentoo.org>
-Bug-Reference-ID: <200601120613.11907.vapier AT gentoo.org>
-Bug-Reference-URL:
http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00045.html
-
-Bug-Description:
-
-Under some circumstances, Readline can use an incorrect setting for the flag
-that indicates whether or not the terminal can auto-wrap, resulting in line-
-wrapping errors.
-
-Patch:
-
-*** ../readline-5.1/terminal.c Sat Nov 12 20:46:54 2005
---- terminal.c Tue Jan 31 10:57:54 2006
-***************
-*** 123,127 ****
-
- /* Non-zero means the terminal can auto-wrap lines. */
-! int _rl_term_autowrap;
-
- /* Non-zero means that this terminal has a meta key. */
---- 126,130 ----
-
- /* Non-zero means the terminal can auto-wrap lines. */
-! int _rl_term_autowrap = -1;
-
- /* Non-zero means that this terminal has a meta key. */
-***************
-*** 275,278 ****
---- 278,284 ----
- int rows, cols;
- {
-+ if (_rl_term_autowrap == -1)
-+ _rl_init_terminal_io (rl_terminal_name);
-+
- if (rows > 0)
- _rl_screenheight = rows;
diff --git a/libs/readline/readline51-003 b/libs/readline/readline51-003
deleted file mode 100644
index cf13517..0000000
--- a/libs/readline/readline51-003
+++ /dev/null
@@ -1,29 +0,0 @@
- READLINE PATCH REPORT
- =====================
-
-Readline-Release: 5.1
-Patch-ID: readline51-003
-
-Bug-Reported-by: Bob Rossi <bob AT brasko.net>
-Bug-Reference-ID: <43F60606.80708 AT case.edu>
-Bug-Reference-URL:
-
-Bug-Description:
-
-In some cases, readline will reference freed memory when attempting to
-display a portion of the prompt.
-
-Patch:
-
-*** ../readline-5.1/readline.c Tue Dec 20 17:38:29 2005
---- readline.c Fri Feb 17 22:54:22 2006
-***************
-*** 282,287 ****
---- 282,288 ----
- {
- FREE (rl_prompt);
- rl_prompt = prompt ? savestring (prompt) : (char *)NULL;
-+ rl_display_prompt = rl_prompt ? rl_prompt : "";
-
- rl_visible_prompt_length = rl_expand_prompt (rl_prompt);
- return 0;
diff --git a/libs/readline/readline51-004 b/libs/readline/readline51-004
deleted file mode 100644
index 72df546..0000000
--- a/libs/readline/readline51-004
+++ /dev/null
@@ -1,90 +0,0 @@
- READLINE PATCH REPORT
- =====================
-
-Readline-Release: 5.1
-Patch-ID: readline51-004
-
-Bug-Reported-by: Mike Stroyan <mike.stroyan AT hp.com>
-Bug-Reference-ID: <20060203191607.GC27614@localhost>
-Bug-Reference-URL:
http://lists.gnu.org/archive/html/bug-bash/2006-02/msg00004.html
-
-Bug-Description:
-
-The displayed search prompt is corrupted when using non-incremental
-searches in vi and emacs mode if the prompt contains non-printing
-characters or spans multiple lines. The prompt is expanded more than
-once; the second time without the escape sequences that protect non-
-printing characters from the length calculations.
-
-Patch:
-
-*** ../readline-5.1-patched/display.c Wed Nov 30 14:05:02 2005
---- display.c Sat Feb 18 12:14:58 2006
-***************
-*** 1983,1993 ****
- int pchar;
- {
- int len;
-! char *pmt;
-
- rl_save_prompt ();
-
-! if (saved_local_prompt == 0)
- {
- len = (rl_prompt && *rl_prompt) ? strlen (rl_prompt) : 0;
- pmt = (char *)xmalloc (len + 2);
---- 1998,2012 ----
- int pchar;
- {
- int len;
-! char *pmt, *p;
-
- rl_save_prompt ();
-
-! /* We've saved the prompt, and can do anything with the various prompt
-! strings we need before they're restored. We want the unexpanded
-! portion of the prompt string after any final newline. */
-! p = rl_prompt ? strrchr (rl_prompt, '\n') : 0;
-! if (p == 0)
- {
- len = (rl_prompt && *rl_prompt) ? strlen (rl_prompt) : 0;
- pmt = (char *)xmalloc (len + 2);
-***************
-*** 1998,2016 ****
- }
- else
- {
-! len = *saved_local_prompt ? strlen (saved_local_prompt) : 0;
- pmt = (char *)xmalloc (len + 2);
- if (len)
-! strcpy (pmt, saved_local_prompt);
- pmt[len] = pchar;
- pmt[len+1] = '\0';
-! local_prompt = savestring (pmt);
-! prompt_last_invisible = saved_last_invisible;
-! prompt_visible_length = saved_visible_length + 1;
-! }
-
- prompt_physical_chars = saved_physical_chars + 1;
--
- return pmt;
- }
-
---- 2017,2033 ----
- }
- else
- {
-! p++;
-! len = strlen (p);
- pmt = (char *)xmalloc (len + 2);
- if (len)
-! strcpy (pmt, p);
- pmt[len] = pchar;
- pmt[len+1] = '\0';
-! }
-
-+ /* will be overwritten by expand_prompt, called from rl_message */
- prompt_physical_chars = saved_physical_chars + 1;
- return pmt;
- }
-



  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (b3566f0663df3272bdc788890b05fc8d5a3eeac2), Ladislav Hagara, 10/12/2006

Archive powered by MHonArc 2.6.24.

Top of Page