diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-08 13:46:50 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-08 13:46:50 +0000 |
commit | 63467e52633f90e6a402bce0daf11662ef3e9564 (patch) | |
tree | 17f4db767cf98c77e27a063947ebe76f74930a50 | |
parent | 8474c90eaceb27fbf21b97ffebbfa976e7851c07 (diff) |
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
-rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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)} |