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

ruby-changes:12975

From: naruse <ko1@a...>
Date: Sun, 30 Aug 2009 17:12:50 +0900 (JST)
Subject: [ruby-changes:12975] Ruby:r24717 (trunk): Revert wrong commit r24715 "* thread.c (do_select): suppress warnings."

naruse	2009-08-30 17:06:24 +0900 (Sun, 30 Aug 2009)

  New Revision: 24717

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

  Log:
    Revert wrong commit r24715 "* thread.c (do_select): suppress warnings."

  Modified files:
    trunk/thread.c

Index: thread.c
===================================================================
--- thread.c	(revision 24716)
+++ thread.c	(revision 24717)
@@ -2355,7 +2355,7 @@
 	  struct timeval *timeout)
 {
     int result, lerrno;
-    fd_set orig_read = {}, orig_write = {}, orig_except = {};
+    fd_set orig_read, orig_write, orig_except;
 
 #ifndef linux
     double limit = 0;

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

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