]>
Commit | Line | Data |
---|---|---|
ed7247e0 ER |
1 | readline 6.3 fix from upstream |
2 | ||
3 | https://bugs.ruby-lang.org/issues/9578 | |
4 | --- ./ext/readline/readline.c (revision 45224) | |
5 | +++ ./ext/readline/readline.c (revision 45225) | |
6 | @@ -1974,7 +1974,7 @@ | |
7 | ||
8 | rl_attempted_completion_function = readline_attempted_completion_function; | |
9 | #if defined(HAVE_RL_PRE_INPUT_HOOK) | |
10 | - rl_pre_input_hook = (Function *)readline_pre_input_hook; | |
11 | + rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook; | |
12 | #endif | |
13 | #ifdef HAVE_RL_CATCH_SIGNALS | |
14 | rl_catch_signals = 0; |