Actions
Backport #9630
closedBackport readline-6.3 support.
Description
Please backport to support readline-6.3 or later. Related revision are r45225, r45240 and 45243.
Related issues
Actions
Added by hsbt (Hiroshi SHIBATA) about 7 years ago. Updated almost 7 years ago.
Description
Please backport to support readline-6.3 or later. Related revision are r45225, r45240 and 45243.
Related issues
r45488 and r45518
Applied in changeset r45772.
merge revision(s) r45225,r45240,r45488: [Backport #9578] [Backport #9630]
* ext/readline/readline.c (Init_readline): Use rl_hook_func_t instead of Function to support readline-6.3. (rl_hook_func_t is available since readline-4.2.) Reported by Dmitry Medvinsky. [ruby-core:61141] [Bug #9578] * ext/readline/extconf.rb (rl_hook_func_t): define as Function for very old readline versions. [ruby-core:61209] [Bug #9578] * ext/readline/extconf.rb: fix typo, `$defs` not `$DEFS`. [ruby-core:61756] [Bug #9578]