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

ruby-changes:63019

From: Nobuyoshi <ko1@a...>
Date: Sat, 19 Sep 2020 17:53:56 +0900 (JST)
Subject: [ruby-changes:63019] 702cebf104 (master): strip trailing spaces [ci skip]

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

From 702cebf104298b92c67ffd22795d0a4c794dd2f1 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 19 Sep 2020 17:40:31 +0900
Subject: strip trailing spaces [ci skip]


diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index a82295f..bde65f9 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -239,7 +239,7 @@ io_wait(int argc, VALUE *argv, VALUE io) https://github.com/ruby/ruby/blob/trunk/ext/io/wait/wait.c#L239
         }
     } else if (argc == 2) {
         events = RB_NUM2UINT(argv[0]);
-        
+
         if (argv[1] != Qnil) {
           timeout = argv[1];
         }
diff --git a/gc.c b/gc.c
index eff5486..7f48f1d 100644
--- a/gc.c
+++ b/gc.c
@@ -3395,7 +3395,7 @@ should_be_finalizable(VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L3395
  *        def initialize(data_needed_for_finalization)
  *          ObjectSpace.define_finalizer(self, self.class.create_finalizer(data_needed_for_finalization))
  *        end
- *      
+ *
  *        def self.create_finalizer(data_needed_for_finalization)
  *          proc {
  *            puts "finalizing #{data_needed_for_finalization}"
@@ -3408,7 +3408,7 @@ should_be_finalizable(VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L3408
  *          def initialize(data_needed_for_finalization)
  *            @data_needed_for_finalization = data_needed_for_finalization
  *          end
- *        
+ *
  *          def call(id)
  *            puts "finalizing #{@data_needed_for_finalization}"
  *          end
@@ -7739,7 +7739,7 @@ static inline void https://github.com/ruby/ruby/blob/trunk/gc.c#L7739
 gc_enter(rb_objspace_t *objspace, const char *event, unsigned int *lock_lev)
 {
     // stop other ractors
-    
+
     RB_VM_LOCK_ENTER_LEV(lock_lev);
     rb_vm_barrier();
 
diff --git a/ractor.c b/ractor.c
index bccc88f..0ae0070 100644
--- a/ractor.c
+++ b/ractor.c
@@ -492,7 +492,7 @@ ractor_copy_setup(struct rb_ractor_basket *b, VALUE obj) https://github.com/ruby/ruby/blob/trunk/ractor.c#L492
 #if 0
         // TODO: consider custom copy protocol
         switch (BUILTIN_TYPE(obj)) {
-            
+
         }
 #endif
         b->v = rb_marshal_dump(obj, Qnil);
@@ -1357,7 +1357,7 @@ ractor_atexit_yield(rb_execution_context_t *ec, rb_ractor_t *cr, VALUE v, bool e https://github.com/ruby/ruby/blob/trunk/ractor.c#L1357
 
     struct rb_ractor_basket basket;
     ractor_basket_setup(ec, &basket, v, Qfalse, exc);
- 
+
   retry:
     if (ractor_try_yield(ec, cr, &basket)) {
         // OK.
-- 
cgit v0.10.2


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

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