* io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
704abdc3d2
commit
6edde68b5d
@ -1,3 +1,7 @@
|
|||||||
|
Wed Apr 24 15:55:06 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* io.c (rb_fd_fix_cloexec): use rb_update_max_fd().
|
||||||
|
|
||||||
Wed Apr 24 14:08:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
Wed Apr 24 14:08:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||||
|
|
||||||
* numeric.c: Fix wiki link on Float imprecision in overview, patched
|
* numeric.c: Fix wiki link on Float imprecision in overview, patched
|
||||||
|
3
io.c
3
io.c
@ -216,9 +216,8 @@ rb_maygvl_fd_fix_cloexec(int fd)
|
|||||||
void
|
void
|
||||||
rb_fd_fix_cloexec(int fd)
|
rb_fd_fix_cloexec(int fd)
|
||||||
{
|
{
|
||||||
rb_atomic_t afd = (rb_atomic_t)fd;
|
|
||||||
rb_maygvl_fd_fix_cloexec(fd);
|
rb_maygvl_fd_fix_cloexec(fd);
|
||||||
if (max_file_descriptor < afd) max_file_descriptor = afd;
|
rb_update_max_fd(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user