[前][次][番号順一覧][スレッド一覧]

ruby-changes:15585

From: nobu <ko1@a...>
Date: Sun, 25 Apr 2010 23:50:28 +0900 (JST)
Subject: [ruby-changes:15585] Ruby:r27491 (trunk): * io.c (ruby_dup): update max fd.

nobu	2010-04-25 23:50:10 +0900 (Sun, 25 Apr 2010)

  New Revision: 27491

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27491

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

  Modified files:
    trunk/ChangeLog
    trunk/io.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27490)
+++ ChangeLog	(revision 27491)
@@ -1,3 +1,7 @@
+Sun Apr 25 23:50:08 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* io.c (ruby_dup): update max fd.
+
 Sun Apr 25 21:56:49 2010  Shugo Maeda  <shugo@r...>
 
 	* lib/net/imap.rb (fetch_internal): do not quote message data item
Index: io.c
===================================================================
--- io.c	(revision 27490)
+++ io.c	(revision 27491)
@@ -507,6 +507,7 @@
 	    rb_sys_fail(0);
 	}
     }
+    UPDATE_MAXFD(fd);
     return fd;
 }
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]