ruby-changes:58086
From: nagachika <ko1@a...>
Date: Wed, 2 Oct 2019 20:19:00 +0900 (JST)
Subject: [ruby-changes:58086] 545e51c1e2 (ruby_2_6): merge revision(s) 63ab7046a1a5c374a52dfa79406fe52d92d80344:
https://git.ruby-lang.org/ruby.git/commit/?id=545e51c1e2 From 545e51c1e2f7d6f68e7860dd67ac5a10e01f1011 Mon Sep 17 00:00:00 2001 From: nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Wed, 2 Oct 2019 11:18:43 +0000 Subject: merge revision(s) 63ab7046a1a5c374a52dfa79406fe52d92d80344: Skip POINTOPOINT of IPv4 too instead of IPv6 only Fix following error on `utun*`: ``` 1) Error: TestSocket#test_udp_server: Errno::ECONNREFUSED: Connection refused - recvmsg(2) ``` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb index e07c1d6..a84569d 100644 --- a/test/socket/test_socket.rb +++ b/test/socket/test_socket.rb @@ -380,11 +380,10 @@ class TestSocket < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/socket/test_socket.rb#L380 in6_ifreq = [ifr_name,ai.to_sockaddr].pack('a16A*') s.ioctl(ulSIOCGIFFLAGS, in6_ifreq) next true if in6_ifreq.unpack('A16L1').last & ulIFF_POINTOPOINT != 0 - else - ifconfig ||= `/sbin/ifconfig` - next true if ifconfig.scan(/^(\w+):(.*(?:\n\t.*)*)/).find do|ifname, value| - value.include?(ai.ip_address) && value.include?('POINTOPOINT') - end + end + ifconfig ||= `/sbin/ifconfig` + next true if ifconfig.scan(/^(\w+):(.*(?:\n\t.*)*)/).find do |_ifname, value| + value.include?(ai.ip_address) && value.include?('POINTOPOINT') end end false diff --git a/version.h b/version.h index 42c6f3a..7ebcf4d 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L1 #define RUBY_VERSION "2.6.6" #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 115 +#define RUBY_PATCHLEVEL 116 #define RUBY_RELEASE_YEAR 2019 #define RUBY_RELEASE_MONTH 10 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/