* io.c (rb_sysopen): max fd is updated in rb_sysopen_internal()

already.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-11-09 13:54:33 +00:00
parent 3f289d9237
commit 42b4255d08
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Nov 9 22:54:30 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_sysopen): max fd is updated in rb_sysopen_internal()
already.
Wed Nov 9 22:13:38 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):

1
io.c
View File

@ -4792,7 +4792,6 @@ rb_sysopen(VALUE fname, int oflags, mode_t perm)
rb_sys_fail(RSTRING_PTR(fname));
}
}
rb_update_max_fd(fd);
return fd;
}