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

ruby-changes:28414

From: akr <ko1@a...>
Date: Thu, 25 Apr 2013 18:18:04 +0900 (JST)
Subject: [ruby-changes:28414] akr:r40466 (trunk): * ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.

akr	2013-04-25 18:17:54 +0900 (Thu, 25 Apr 2013)

  New Revision: 40466

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

  Log:
    * ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/extconf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40465)
+++ ChangeLog	(revision 40466)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Apr 25 18:15:46 2013  Tanaka Akira  <akr@f...>
+
+	* ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.
+
 Thu Apr 25 17:56:39 2013  Tanaka Akira  <akr@f...>
 
 	* ext/socket/extconf.rb: Remove obsolete options: ---with-ipv6-lib and
Index: ext/socket/extconf.rb
===================================================================
--- ext/socket/extconf.rb	(revision 40465)
+++ ext/socket/extconf.rb	(revision 40466)
@@ -484,7 +484,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L484
   when nil
     if have_func("getnameinfo", headers) and have_func("getaddrinfo", headers)
       getaddr_info_ok = :os
-      if !CROSS_COMPILING && checking_for("wide getaddrinfo") {try_run(cpp_include(headers) + GETADDRINFO_GETNAMEINFO_TEST)}
+      if !CROSS_COMPILING && !checking_for("wide getaddrinfo") {try_run(cpp_include(headers) + GETADDRINFO_GETNAMEINFO_TEST)}
         getaddr_info_ok = :wide
       end
     else
@@ -493,7 +493,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L493
   when false
     if have_func("getnameinfo", headers) and have_func("getaddrinfo", headers)
       getaddr_info_ok = :os
-      if !CROSS_COMPILING && checking_for("wide getaddrinfo") {try_run(cpp_include(headers) + GETADDRINFO_GETNAMEINFO_TEST)}
+      if !CROSS_COMPILING && !checking_for("wide getaddrinfo") {try_run(cpp_include(headers) + GETADDRINFO_GETNAMEINFO_TEST)}
         getaddr_info_ok = nil
       end
     else

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

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