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

ruby-changes:28518

From: akr <ko1@a...>
Date: Fri, 3 May 2013 14:11:23 +0900 (JST)
Subject: [ruby-changes:28518] akr:r40570 (trunk): * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.

akr	2013-05-03 14:11:06 +0900 (Fri, 03 May 2013)

  New Revision: 40570

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

  Log:
    * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.
      Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12).
      http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40569)
+++ ChangeLog	(revision 40570)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri May  3 14:09:45 2013  Tanaka Akira  <akr@f...>
+
+	* ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.
+	  Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12).
+	  http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html
+
 Fri May  3 13:35:26 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/socket/{getaddrinfo,getnameinfo}.c: define socklen_t if not
Index: ext/socket/extconf.rb
===================================================================
--- ext/socket/extconf.rb	(revision 40569)
+++ ext/socket/extconf.rb	(revision 40570)
@@ -427,7 +427,7 @@ EOF https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L427
   end
 
   ipv6 = false
-  default_ipv6 = /cygwin|beos|haiku/ !~ RUBY_PLATFORM
+  default_ipv6 = /beos|haiku/ !~ RUBY_PLATFORM
   if enable_config("ipv6", default_ipv6)
     if checking_for("ipv6") {try_link(AF_INET6_SOCKET_CREATION_TEST)}
       $defs << "-DENABLE_IPV6" << "-DINET6"

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

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