summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-25 14:50:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-25 14:50:10 +0000
commit8ebadc63f442e70bffa8fba2d8b23ba14bc1e71e (patch)
tree7d26117f37aa92975c1b965dd86696655b59897e /io.c
parentfcd05a98fbfca72f83ce84851ff5830817be1f59 (diff)
* io.c (ruby_dup): update max fd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.c b/io.c
index 2eba0ec6d4..30150fc507 100644
--- a/io.c
+++ b/io.c
@@ -507,6 +507,7 @@ ruby_dup(int orig)
rb_sys_fail(0);
}
}
+ UPDATE_MAXFD(fd);
return fd;
}