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

ruby-changes:28443

From: akr <ko1@a...>
Date: Sat, 27 Apr 2013 17:23:41 +0900 (JST)
Subject: [ruby-changes:28443] akr:r40495 (trunk): * ext/socket/extconf.rb: Redundant test removed.

akr	2013-04-27 17:23:21 +0900 (Sat, 27 Apr 2013)

  New Revision: 40495

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

  Log:
    * ext/socket/extconf.rb: Redundant test removed.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40494)
+++ ChangeLog	(revision 40495)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Apr 27 17:22:50 2013  Tanaka Akira  <akr@f...>
+
+	* ext/socket/extconf.rb: Redundant test removed.
+
 Sat Apr 27 16:00:10 2013  Tanaka Akira  <akr@f...>
 
 	* ext/socket/extconf.rb (test_recvmsg_with_msg_peek_creates_fds):
Index: ext/socket/extconf.rb
===================================================================
--- ext/socket/extconf.rb	(revision 40494)
+++ ext/socket/extconf.rb	(revision 40495)
@@ -553,8 +553,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L553
     "raddrinfo.#{$OBJEXT}"
   ]
 
-  if getaddr_info_ok == :wide or
-      !have_func("getnameinfo", headers) or !have_func("getaddrinfo", headers)
+  if getaddr_info_ok == :wide
     if !have_type("struct in6_addr", headers) and have_type("struct in_addr6", headers)
       $defs.pop(2)
       $defs << "-Din_addr6=in6_addr"

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

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