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
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 *** ../bash-4.4-patched/lib/readline/readline.c 2016-04-20 15:53:52.000000000 -0400
20 --- lib/readline/readline.c 2018-05-26 17:19:00.000000000 -0400
23 r = _rl_dispatch (ANYOTHERKEY, m);
25 ! else if (r && map[ANYOTHERKEY].function)
27 /* We didn't match (r is probably -1), so return something to
29 r = _rl_dispatch (ANYOTHERKEY, m);
31 ! else if (r < 0 && map[ANYOTHERKEY].function)
33 /* We didn't match (r is probably -1), so return something to
38 ! else if (r && got_subseq)
40 /* OK, back up the chain. */
44 ! else if (r < 0 && got_subseq) /* XXX */
46 /* OK, back up the chain. */
47 *** ../bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
48 --- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
51 looks for to find the patch level (for the sccs version string). */
53 ! #define PATCHLEVEL 21
55 #endif /* _PATCHLEVEL_H_ */
57 looks for to find the patch level (for the sccs version string). */
59 ! #define PATCHLEVEL 22
61 #endif /* _PATCHLEVEL_H_ */