ruby-changes:56354
From: git <ko1@a...>
Date: Wed, 3 Jul 2019 04:27:07 +0900 (JST)
Subject: [ruby-changes:56354] git: 9f26242411 (master): * expand tabs.
https://git.ruby-lang.org/ruby.git/commit/?id=9f26242411 From 9f26242411fe56c661644d63a9be11530889ebe3 Mon Sep 17 00:00:00 2001 From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Wed, 3 Jul 2019 04:26:53 +0900 Subject: * expand tabs. diff --git a/gc.c b/gc.c index 2f6983e..7c652aa 100644 --- a/gc.c +++ b/gc.c @@ -2965,14 +2965,14 @@ should_not_capture_callback(VALUE child, void *dp) https://github.com/ruby/ruby/blob/trunk/gc.c#L2965 { struct should_not_capture_data *data = dp; if (child == data->obj) - data->found = true; + data->found = true; if (data->found) - return; + return; // Maintain a set of objects already searched, so that we don't follow a cycle if (rb_hash_lookup2(data->set, child, Qfalse)) - return; + return; rb_hash_aset(data->set, child, Qtrue); rb_objspace_reachable_objects_from(child, should_not_capture_callback, data); @@ -2986,7 +2986,7 @@ should_not_capture(VALUE block, VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L2986 rb_objspace_reachable_objects_from(block, should_not_capture_callback, &data); rb_hash_clear(data.set); if (data.found) - rb_warn("object is reachable from finalizer - it may never be run"); + rb_warn("object is reachable from finalizer - it may never be run"); } /* @@ -3019,7 +3019,7 @@ define_final(int argc, VALUE *argv, VALUE os) https://github.com/ruby/ruby/blob/trunk/gc.c#L3019 } if (RTEST(ruby_verbose)) { - should_not_capture(block, obj); + should_not_capture(block, obj); } return define_final0(obj, block); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/