summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-27 08:23:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-27 08:23:21 +0000
commitef215077bc5d682a86a91d2a7c80e153896b87a7 (patch)
treeda44c16b1d4ebe7887a1e5354b5816a67944ee3c
parentfbbd7e29e7b7cb6a38cc3fa05a11c869f9fe028c (diff)
* ext/socket/extconf.rb: Redundant test removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/extconf.rb3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eb7b045..d8973de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Apr 27 17:22:50 2013 Tanaka Akira <akr@fsij.org>
+
+ * ext/socket/extconf.rb: Redundant test removed.
+
Sat Apr 27 16:00:10 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb (test_recvmsg_with_msg_peek_creates_fds):
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 0bd1371..f74d6010 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -553,8 +553,7 @@ EOS
"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"