summaryrefslogtreecommitdiff
path: root/test/socket/test_unix.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 10:49:16 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 10:49:16 +0000
commitfd9c7e8af11fb79fa61ad7c462ff47e2ccd54486 (patch)
tree3050f3cfaca4d443923a7a64a85b232ed25e5de8 /test/socket/test_unix.rb
parent3a701d728184d31c7abb7a106b78b7630b575081 (diff)
* 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
Diffstat (limited to 'test/socket/test_unix.rb')
-rw-r--r--test/socket/test_unix.rb2
1 files changed, 1 insertions, 1 deletions
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