mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/win32.c (open_ifs_socket): new function.
* win32/win32.c (StartSockets, rb_w32_socket): use open_ifs_socket() instead of socket(). all changes are derived from [ruby-core:5388]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04826ff77b
commit
2e0680f221
3 changed files with 62 additions and 26 deletions
|
|
@ -31,14 +31,14 @@ class TestSDBM < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
def have_fork?
|
||||
begin
|
||||
fork{}
|
||||
true
|
||||
rescue NotImplementedError
|
||||
false
|
||||
end
|
||||
def have_fork?
|
||||
begin
|
||||
fork{}
|
||||
true
|
||||
rescue NotImplementedError
|
||||
false
|
||||
end
|
||||
end
|
||||
|
||||
def test_version
|
||||
assert(! SDBM.const_defined?(:VERSION))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue