Skip to content

Commit d2a8e28

Browse files
committed
readline/extconf.rb: rl_hook_func_t
* ext/readline/extconf.rb (rl_hook_func_t): check pointer type. [ruby-dev:48089] [Bug ruby#9702] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent c369962 commit d2a8e28

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sat Apr 5 00:31:21 2014 Nobuyoshi Nakada <[email protected]>
2+
3+
* ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
4+
[ruby-dev:48089] [Bug #9702]
5+
16
Fri Apr 4 07:13:44 2014 Nobuyoshi Nakada <[email protected]>
27

38
* configure.in (ac_cv_func___builtin_setjmp): should not skip

ext/readline/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def readline.have_type(type)
9898
readline.have_func("rl_redisplay")
9999
readline.have_func("rl_insert_text")
100100
readline.have_func("rl_delete_text")
101-
unless readline.have_type("rl_hook_func_t")
101+
unless readline.have_type("rl_hook_func_t*")
102102
# rl_hook_func_t is available since readline-4.2 (2001).
103103
# Function is removed at readline-6.3 (2014).
104104
# However, editline (NetBSD 6.1.3, 2014) doesn't have rl_hook_func_t.

0 commit comments

Comments
 (0)