1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/ancdata.c (rsock_discard_cmsg_resource): defined

unconditionally.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-03-02 12:14:35 +00:00
parent a36ea435d2
commit fb5d4ecfb5
4 changed files with 10 additions and 1 deletions

View file

@ -69,6 +69,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
def test_fd_passing_n2
io_ary = []
return if !defined?(Socket::SCM_RIGHTS)
return if !defined?(Socket::AncillaryData)
io_ary.concat IO.pipe
io_ary.concat IO.pipe
io_ary.concat IO.pipe