summaryrefslogtreecommitdiff
path: root/data/readline/readline70-005
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 11:56:21 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 11:56:21 -1000
commite50637097d57e1852b0c26c212910b94f32a99a8 (patch)
tree3453fb4c8aebf9968414b7b3185314353571dd34 /data/readline/readline70-005
parent1a6600842fe22b5873ea8e5e0146ebb0d6671501 (diff)
Update readline to 7.0.5
Diffstat (limited to 'data/readline/readline70-005')
-rw-r--r--data/readline/readline70-00558
1 files changed, 58 insertions, 0 deletions
diff --git a/data/readline/readline70-005 b/data/readline/readline70-005
new file mode 100644
index 000000000..99753224c
--- /dev/null
+++ b/data/readline/readline70-005
@@ -0,0 +1,58 @@
+ READLINE PATCH REPORT
+ =====================
+
+Readline-Release: 7.0
+Patch-ID: readline70-005
+
+Bug-Reported-by: Nuzhna Pomoshch <nuzhna_pomoshch@yahoo.com>
+Bug-Reference-ID: <1317167476.1492079.1495999776464@mail.yahoo.com>
+Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2017-05/msg00005.html
+
+Bug-Description:
+
+There are cases where a failing readline command (e.g., delete-char at the end
+of a line) can cause a multi-character key sequence to `back up' and attempt
+to re-read some of the characters in the sequence.
+
+Patch (apply with `patch -p0'):
+
+*** ../readline-7.0/readline.c 2016-04-20 15:53:52.000000000 -0400
+--- readline.c 2018-05-26 17:19:00.000000000 -0400
+***************
+*** 1058,1062 ****
+ r = _rl_dispatch (ANYOTHERKEY, m);
+ }
+! else if (r && map[ANYOTHERKEY].function)
+ {
+ /* We didn't match (r is probably -1), so return something to
+--- 1056,1060 ----
+ r = _rl_dispatch (ANYOTHERKEY, m);
+ }
+! else if (r < 0 && map[ANYOTHERKEY].function)
+ {
+ /* We didn't match (r is probably -1), so return something to
+***************
+*** 1070,1074 ****
+ return -2;
+ }
+! else if (r && got_subseq)
+ {
+ /* OK, back up the chain. */
+--- 1068,1072 ----
+ return -2;
+ }
+! else if (r < 0 && got_subseq) /* XXX */
+ {
+ /* OK, back up the chain. */
+*** ../readline-7.0/patchlevel 2013-11-15 08:11:11.000000000 -0500
+--- patchlevel 2014-03-21 08:28:40.000000000 -0400
+***************
+*** 1,3 ****
+ # Do not edit -- exists only for use by patch
+
+! 4
+--- 1,3 ----
+ # Do not edit -- exists only for use by patch
+
+! 5
+