ruby-changes:61608
From: Aaron <ko1@a...>
Date: Tue, 9 Jun 2020 07:08:48 +0900 (JST)
Subject: [ruby-changes:61608] 42a2fa3b17 (master): fix debugging output
https://git.ruby-lang.org/ruby.git/commit/?id=42a2fa3b17 From 42a2fa3b175b6420a23f22441179521b4193ddd7 Mon Sep 17 00:00:00 2001 From: Aaron Patterson <tenderlove@r...> Date: Mon, 8 Jun 2020 15:08:15 -0700 Subject: fix debugging output diff --git a/gc.c b/gc.c index 74bed6b..63f1629 100644 --- a/gc.c +++ b/gc.c @@ -8406,7 +8406,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L8406 { RVALUE *any = RANY(obj); - gc_report(4, objspace, "update-refs: %p ->", (void *)obj); + gc_report(4, objspace, "update-refs: %p ->\n", (void *)obj); switch (BUILTIN_TYPE(obj)) { case T_CLASS: @@ -8555,7 +8555,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj) https://github.com/ruby/ruby/blob/trunk/gc.c#L8555 UPDATE_IF_MOVED(objspace, RBASIC(obj)->klass); - gc_report(4, objspace, "update-refs: %p <-", (void *)obj); + gc_report(4, objspace, "update-refs: %p <-\n", (void *)obj); } static int -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/