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

ruby-changes:11359

From: nobu <ko1@a...>
Date: Mon, 16 Mar 2009 15:31:43 +0900 (JST)
Subject: [ruby-changes:11359] Ruby:r22978 (ruby_1_8): * eval.c (rb_thread_schedule): suppressed a warning.

nobu	2009-03-16 15:31:37 +0900 (Mon, 16 Mar 2009)

  New Revision: 22978

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

  Log:
    * eval.c (rb_thread_schedule): suppressed a warning.

  Modified files:
    branches/ruby_1_8/eval.c

Index: ruby_1_8/eval.c
===================================================================
--- ruby_1_8/eval.c	(revision 22977)
+++ ruby_1_8/eval.c	(revision 22978)
@@ -11203,7 +11203,9 @@
             if (e == EBADF) {
                 int badfd = -1;
                 int fd;
+#ifndef _WIN32
                 int dummy;
+#endif
                 for (fd = 0; fd <= max; fd++) {
                     if ((FD_ISSET(fd, &readfds) ||
                          FD_ISSET(fd, &writefds) ||

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

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