summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--io.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a7ab67f432..0e531ed4f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Apr 25 23:50:08 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * io.c (ruby_dup): update max fd.
+
Sun Apr 25 21:56:49 2010 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb (fetch_internal): do not quote message data item
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;
}