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
This commit is contained in:
naruse 2012-04-08 13:46:50 +00:00
parent 8474c90eac
commit 63467e5263

View File

@ -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)}