diff options
author | monty@hundin.mysql.fi <> | 2001-10-17 19:39:39 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-10-17 19:39:39 +0300 |
commit | 0bfec316ce62bf5f46b55888a0a9d593171c4eb5 (patch) | |
tree | a99a119a594cef911c36b9e84ddb7975f5747e05 /readline/vi_mode.c | |
parent | faa51dc2854d2a2e0fe09cad44702f57d26109ae (diff) | |
download | mariadb-git-0bfec316ce62bf5f46b55888a0a9d593171c4eb5.tar.gz |
Don't do signal() on windows (Causes instability problems)
Safer, a bit faster filesort.
Code changes to avoid calls to current_thd() (faster code).
Removed all compiler warnings from readline.
Diffstat (limited to 'readline/vi_mode.c')
-rw-r--r-- | readline/vi_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/readline/vi_mode.c b/readline/vi_mode.c index d62d91dada6..3db3d25cdd3 100644 --- a/readline/vi_mode.c +++ b/readline/vi_mode.c @@ -98,7 +98,7 @@ extern int rl_vi_check (); static int _rl_vi_doing_insert; /* Command keys which do movement for xxx_to commands. */ -static char *vi_motion = " hl^$0ftFt;,%wbeWBE|"; +static const char *vi_motion = " hl^$0ftFt;,%wbeWBE|"; /* Keymap used for vi replace characters. Created dynamically since rarely used. */ @@ -126,7 +126,7 @@ static int _rl_vi_last_key_before_insert; static int vi_redoing; /* Text modification commands. These are the `redoable' commands. */ -static char *vi_textmod = "_*\\AaIiCcDdPpYyRrSsXx~"; +static const char *vi_textmod = "_*\\AaIiCcDdPpYyRrSsXx~"; /* Arrays for the saved marks. */ static int vi_mark_chars[27]; |