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

ruby-changes:21084

From: usa <ko1@a...>
Date: Wed, 31 Aug 2011 00:51:23 +0900 (JST)
Subject: [ruby-changes:21084] usa:r33133 (trunk): * win32/win32.c (rb_w32_select_with_thread): and my typo. we all must

usa	2011-08-31 00:51:13 +0900 (Wed, 31 Aug 2011)

  New Revision: 33133

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

  Log:
    * win32/win32.c (rb_w32_select_with_thread): and my typo. we all must
      be more careful.

  Modified files:
    trunk/ChangeLog
    trunk/win32/win32.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33132)
+++ ChangeLog	(revision 33133)
@@ -1,3 +1,8 @@
+Wed Aug 31 00:50:01 2011  NAKAMURA Usaku  <usa@r...>
+
+	* win32/win32.c (rb_w32_select_with_thread): and my typo. we all must
+	  be more careful.
+
 Wed Aug 31 00:48:38 2011  NAKAMURA Usaku  <usa@r...>
 
 	* thread.c (rb_thread_select): critical typo in r33117.
Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 33132)
+++ win32/win32.c	(revision 33133)
@@ -2818,7 +2818,7 @@
 	    if (else_rd.fdset->fd_count || else_wr.fdset->fd_count) {
 		r = do_select(nfds, rd, wr, ex, &zero); // polling
 		if (r < 0) break; // XXX: should I ignore error and return signaled handles?
-		r = copy_fd(rd, else_rd.fdset);
+		r += copy_fd(rd, else_rd.fdset);
 		r += copy_fd(wr, else_wr.fdset);
 		if (ex)
 		    r += ex->fd_count;

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

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