mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fix bug in bundled GNU readline library, based on similar report for
GNU bash (http://lists.gnu.org/archive/html/bug-bash/2002-08/msg00042.html) and current code from GNU readline 5.0. (Bug #5672)
This commit is contained in:
@ -311,7 +311,7 @@ rl_generic_bind (type, keyseq, data, map)
|
|||||||
mapped to something, `abc' to be mapped to something else,
|
mapped to something, `abc' to be mapped to something else,
|
||||||
and the function bound to `a' to be executed when the user
|
and the function bound to `a' to be executed when the user
|
||||||
types `abx', leaving `bx' in the input queue. */
|
types `abx', leaving `bx' in the input queue. */
|
||||||
if (k.function /* && k.type == ISFUNC */)
|
if (k.function && ((k.type == ISFUNC && k.function != rl_do_lowercase_version) || k.type == ISMACR))
|
||||||
{
|
{
|
||||||
map[ANYOTHERKEY] = k;
|
map[ANYOTHERKEY] = k;
|
||||||
k.function = 0;
|
k.function = 0;
|
||||||
|
Reference in New Issue
Block a user