wok-next view readline/stuff/patches/readline70-005.patch @ rev 21693
updated go-bin (1.10.2 -> 1.14.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:23:03 2020 +0100 (2020-06-30) |
parents | |
children |
line source
1 READLINE PATCH REPORT
2 =====================
4 Readline-Release: 7.0
5 Patch-ID: readline70-005
7 Bug-Reported-by: Nuzhna Pomoshch <nuzhna_pomoshch@yahoo.com>
8 Bug-Reference-ID: <1317167476.1492079.1495999776464@mail.yahoo.com>
9 Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-readline/2017-05/msg00005.html
11 Bug-Description:
13 There are cases where a failing readline command (e.g., delete-char at the end
14 of a line) can cause a multi-character key sequence to `back up' and attempt
15 to re-read some of the characters in the sequence.
17 Patch (apply with `patch -p0'):
19 *** ../readline-7.0/readline.c 2016-04-20 15:53:52.000000000 -0400
20 --- readline.c 2018-05-26 17:19:00.000000000 -0400
21 ***************
22 *** 1058,1062 ****
23 r = _rl_dispatch (ANYOTHERKEY, m);
24 }
25 ! else if (r && map[ANYOTHERKEY].function)
26 {
27 /* We didn't match (r is probably -1), so return something to
28 --- 1056,1060 ----
29 r = _rl_dispatch (ANYOTHERKEY, m);
30 }
31 ! else if (r < 0 && map[ANYOTHERKEY].function)
32 {
33 /* We didn't match (r is probably -1), so return something to
34 ***************
35 *** 1070,1074 ****
36 return -2;
37 }
38 ! else if (r && got_subseq)
39 {
40 /* OK, back up the chain. */
41 --- 1068,1072 ----
42 return -2;
43 }
44 ! else if (r < 0 && got_subseq) /* XXX */
45 {
46 /* OK, back up the chain. */
47 *** ../readline-7.0/patchlevel 2013-11-15 08:11:11.000000000 -0500
48 --- patchlevel 2014-03-21 08:28:40.000000000 -0400
49 ***************
50 *** 1,3 ****
51 # Do not edit -- exists only for use by patch
53 ! 4
54 --- 1,3 ----
55 # Do not edit -- exists only for use by patch
57 ! 5