diff options
author | Georgi Kodinov <joro@sun.com> | 2009-06-05 15:30:57 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-06-05 15:30:57 +0300 |
commit | 1a8eb91e06b3e92ff2f034666f06f9a2952c193f (patch) | |
tree | a617aeeb8a573f036ab34bd719614ff170116bf0 /cmd-line-utils | |
parent | 284a14edc5cf27af4ee8b7257f2bb5696316db06 (diff) | |
parent | 5ec61b304c1c7ed03e5df9257f0bc5cb01f6bc36 (diff) | |
download | mariadb-git-1a8eb91e06b3e92ff2f034666f06f9a2952c193f.tar.gz |
automerge
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/readline/bind.c | 4 | ||||
-rw-r--r-- | cmd-line-utils/readline/display.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cmd-line-utils/readline/bind.c b/cmd-line-utils/readline/bind.c index baed1dfad49..9d0a803cc6c 100644 --- a/cmd-line-utils/readline/bind.c +++ b/cmd-line-utils/readline/bind.c @@ -699,8 +699,10 @@ rl_function_of_keyseq (keyseq, map, type) for (i = 0; keyseq && keyseq[i]; i++) { - unsigned char ic = keyseq[i]; + unsigned char uc = keyseq[i]; + int ic; + ic= uc; if (META_CHAR (ic) && _rl_convert_meta_chars_to_ascii) { if (map[ESC].type == ISKMAP) diff --git a/cmd-line-utils/readline/display.c b/cmd-line-utils/readline/display.c index 6f63faa9738..54c56954f43 100644 --- a/cmd-line-utils/readline/display.c +++ b/cmd-line-utils/readline/display.c @@ -1888,7 +1888,7 @@ rl_character_len (c, pos) uc = (unsigned char)c; - if (META_CHAR (uc)) + if (META_CHAR (c)) return ((_rl_output_meta_chars == 0) ? 4 : 1); if (uc == '\t') |