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

ruby-changes:53503

From: svn <ko1@a...>
Date: Wed, 14 Nov 2018 12:52:34 +0900 (JST)
Subject: [ruby-changes:53503] svn:r65719 (trunk): * expand tabs.

svn	2018-11-14 12:52:31 +0900 (Wed, 14 Nov 2018)

  New Revision: 65719

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65719

  Log:
    * expand tabs.

  Modified files:
    trunk/thread.c
Index: thread.c
===================================================================
--- thread.c	(revision 65718)
+++ thread.c	(revision 65719)
@@ -4010,12 +4010,12 @@ rb_thread_fd_select(int max, rb_fdset_t https://github.com/ruby/ruby/blob/trunk/thread.c#L4010
     set.timeout = timeout;
 
     if (!set.rset && !set.wset && !set.eset) {
-	if (!timeout) {
-	    rb_thread_sleep_forever();
-	    return 0;
-	}
-	rb_thread_wait_for(*timeout);
-	return 0;
+        if (!timeout) {
+            rb_thread_sleep_forever();
+            return 0;
+        }
+        rb_thread_wait_for(*timeout);
+        return 0;
     }
 
     set.sigwait_fd = rb_sigwait_fd_get(set.th);

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

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