File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ Core and Builtins
38
38
Library
39
39
-------
40
40
41
+ - Issue #20374: Fix build with GNU readline >= 6.3.
42
+
41
43
- Issue #14548: Make multiprocessing finalizers check pid before
42
44
running to cope with possibility of gc running just after fork.
43
45
(Backport from 3.x.)
Original file line number Diff line number Diff line change @@ -911,12 +911,12 @@ setup_readline(void)
911
911
rl_bind_key_in_map ('\t' , rl_complete , emacs_meta_keymap );
912
912
rl_bind_key_in_map ('\033' , rl_complete , emacs_meta_keymap );
913
913
/* Set our hook functions */
914
- rl_startup_hook = (Function * )on_startup_hook ;
914
+ rl_startup_hook = (rl_hook_func_t * )on_startup_hook ;
915
915
#ifdef HAVE_RL_PRE_INPUT_HOOK
916
- rl_pre_input_hook = (Function * )on_pre_input_hook ;
916
+ rl_pre_input_hook = (rl_hook_func_t * )on_pre_input_hook ;
917
917
#endif
918
918
/* Set our completion function */
919
- rl_attempted_completion_function = (CPPFunction * )flex_complete ;
919
+ rl_attempted_completion_function = (rl_completion_func_t * )flex_complete ;
920
920
/* Set Python word break characters */
921
921
completer_word_break_characters =
922
922
rl_completer_word_break_characters =
You can’t perform that action at this time.
0 commit comments