mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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:
parent
3f289d9237
commit
42b4255d08
2 changed files with 5 additions and 1 deletions
1
io.c
1
io.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue