* io.c (ruby_dup): update max fd.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-04-25 14:50:10 +00:00
parent fcd05a98fb
commit 8ebadc63f4
2 changed files with 5 additions and 0 deletions

View File

@ -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

1
io.c
View File

@ -507,6 +507,7 @@ ruby_dup(int orig)
rb_sys_fail(0);
}
}
UPDATE_MAXFD(fd);
return fd;
}