[前][次][番号順一覧][スレッド一覧]

ruby-changes:33439

From: nobu <ko1@a...>
Date: Sat, 5 Apr 2014 00:31:28 +0900 (JST)
Subject: [ruby-changes:33439] nobu:r45518 (trunk): readline/extconf.rb: rl_hook_func_t

nobu	2014-04-05 00:31:23 +0900 (Sat, 05 Apr 2014)

  New Revision: 45518

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45518

  Log:
    readline/extconf.rb: rl_hook_func_t
    
    * ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
      [ruby-dev:48089] [Bug #9702]

  Modified files:
    trunk/ChangeLog
    trunk/ext/readline/extconf.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45517)
+++ ChangeLog	(revision 45518)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Apr  5 00:31:21 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/readline/extconf.rb (rl_hook_func_t): check pointer type.
+	  [ruby-dev:48089] [Bug #9702]
+
 Fri Apr  4 07:13:44 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (ac_cv_func___builtin_setjmp): should not skip
Index: ext/readline/extconf.rb
===================================================================
--- ext/readline/extconf.rb	(revision 45517)
+++ ext/readline/extconf.rb	(revision 45518)
@@ -98,7 +98,7 @@ readline.have_func("clear_history") https://github.com/ruby/ruby/blob/trunk/ext/readline/extconf.rb#L98
 readline.have_func("rl_redisplay")
 readline.have_func("rl_insert_text")
 readline.have_func("rl_delete_text")
-unless readline.have_type("rl_hook_func_t")
+unless readline.have_type("rl_hook_func_t*")
   # rl_hook_func_t is available since readline-4.2 (2001).
   # Function is removed at readline-6.3 (2014).
   # However, editline (NetBSD 6.1.3, 2014) doesn't have rl_hook_func_t.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]