aboutsummaryrefslogtreecommitdiffstats
path: root/test/sdbm
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-06 02:20:58 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-06 02:20:58 +0000
commit2e0680f22100e8fc46c8efb43ff1a1b875a9e306 (patch)
tree9d04f8151a61f0b1fd4b13e627f2882441c238e0 /test/sdbm
parent04826ff77b2b2ad7fdce4ae76ad7261bdea0b85d (diff)
downloadruby-2e0680f22100e8fc46c8efb43ff1a1b875a9e306.tar.gz
* 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
Diffstat (limited to 'test/sdbm')
-rw-r--r--test/sdbm/test_sdbm.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/sdbm/test_sdbm.rb b/test/sdbm/test_sdbm.rb
index 58c21230ed..3cc75bf23c 100644
--- a/test/sdbm/test_sdbm.rb
+++ b/test/sdbm/test_sdbm.rb
@@ -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))