From fd9c7e8af11fb79fa61ad7c462ff47e2ccd54486 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 9 Feb 2009 10:49:16 +0000 Subject: * ext/socket/ancdata.c (ancillary_initialize): add family argument. (ancdata_new): ditto. (ancillary_s_int): ditto. (ancillary_family): new function. (ancillary_family_m): new method. (ancillary_s_ip_pktinfo): follow ancdata_new change. (ancillary_s_ipv6_pktinfo): ditto. (bsock_recvmsg_internal): examine the socket address family. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/socket/test_unix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb index 663ad8f111..feeef08108 100644 --- a/test/socket/test_unix.rb +++ b/test/socket/test_unix.rb @@ -92,7 +92,7 @@ class TestUNIXSocket < Test::Unit::TestCase IO.pipe {|r1, w| UNIXSocket.pair {|s1, s2| begin - ad = Socket::AncillaryData.int(:SOCKET, :RIGHTS, r1.fileno) + ad = Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, r1.fileno) ret = s1.sendmsg("\0", 0, nil, ad) rescue NotImplementedError return -- cgit v1.2.3