diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | io.c | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -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): @@ -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; } |