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

ruby-changes:56141

From: git <ko1@a...>
Date: Wed, 19 Jun 2019 17:57:29 +0900 (JST)
Subject: [ruby-changes:56141] git: cbe06cd350 (trunk): * remove trailing spaces, expand tabs.

https://git.ruby-lang.org/ruby.git/commit/?id=cbe06cd350

From cbe06cd3501fdadd0e6e63094da2973484d70b0b Mon Sep 17 00:00:00 2001
From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Wed, 19 Jun 2019 17:39:58 +0900
Subject: * remove trailing spaces, expand tabs.


diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 3481402..8fce3d4 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -268,7 +268,7 @@ def show_limit(testsrc, opt = '', **argh) https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L268
   $stderr.print '.'
   $stderr.print @reset
   $stderr.puts if @verbose
-  
+
   if @tty
     $stderr.puts "#{erase}#{result}"
   else
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index 319f9ca..03fb441 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -2,7 +2,7 @@ show_limit %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_thread.rb#L2
   threads = []
   begin
     threads << Thread.new{sleep}
-    
+
     raise Exception, "skipping" if threads.count >= 10_000
   rescue Exception => error
     puts "Thread count: #{threads.count} (#{error})"
@@ -15,7 +15,7 @@ show_limit %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_thread.rb#L15
     fiber = Fiber.new{Fiber.yield}
     fiber.resume
     fibers << fiber
-    
+
     raise Exception, "skipping" if fibers.count >= 10_000
   rescue Exception => error
     puts "Fiber count: #{fibers.count} (#{error})"
diff --git a/thread.c b/thread.c
index df6ca01..4eebfa1 100644
--- a/thread.c
+++ b/thread.c
@@ -702,15 +702,15 @@ thread_do_start(rb_thread_t *th) https://github.com/ruby/ruby/blob/trunk/thread.c#L702
 void rb_ec_clear_current_thread_trace_func(const rb_execution_context_t *ec);
 rb_control_frame_t *
 rb_vm_push_frame(rb_execution_context_t *sec,
-		 const rb_iseq_t *iseq,
-		 VALUE type,
-		 VALUE self,
-		 VALUE specval,
-		 VALUE cref_or_me,
-		 const VALUE *pc,
-		 VALUE *sp,
-		 int local_size,
-		 int stack_max);
+                 const rb_iseq_t *iseq,
+                 VALUE type,
+                 VALUE self,
+                 VALUE specval,
+                 VALUE cref_or_me,
+                 const VALUE *pc,
+                 VALUE *sp,
+                 int local_size,
+                 int stack_max);
 
 static int
 thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_start)
@@ -817,7 +817,7 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s https://github.com/ruby/ruby/blob/trunk/thread.c#L817
 	rb_threadptr_unlock_all_locking_mutexes(th);
 	rb_check_deadlock(th->vm);
 
-	rb_fiber_close(th->ec->fiber_ptr);
+        rb_fiber_close(th->ec->fiber_ptr);
     }
     thread_cleanup_func(th, FALSE);
     gvl_release(th->vm);
diff --git a/thread_pthread.c b/thread_pthread.c
index 5cbe9e0..7592279 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1157,7 +1157,7 @@ native_thread_create(rb_thread_t *th) https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L1157
     }
     else {
 	pthread_attr_t attr;
-	const size_t stack_size = th->vm->default_params.thread_machine_stack_size + th->vm->default_params.thread_vm_stack_size;
+        const size_t stack_size = th->vm->default_params.thread_machine_stack_size + th->vm->default_params.thread_vm_stack_size;
 	const size_t space = space_size(stack_size);
 
         th->ec->machine.stack_maxsize = stack_size - space;
-- 
cgit v0.10.2


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

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