From 63467e52633f90e6a402bce0daf11662ef3e9564 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 8 Apr 2012 13:46:50 +0000 Subject: Decrease the default level of try_fdopen. Because it cause Bus Error: http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20120407T230202Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_io.rb') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index cd4fe98981..0f4d5234a0 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1455,7 +1455,7 @@ class TestIO < Test::Unit::TestCase f.close end - def try_fdopen(fd, autoclose = true, level = 100) + def try_fdopen(fd, autoclose = true, level = 50) if level > 0 begin 1.times {return try_fdopen(fd, autoclose, level - 1)} -- cgit v1.2.3