ruby-changes:39070
From: normal <ko1@a...>
Date: Sun, 5 Jul 2015 18:28:41 +0900 (JST)
Subject: [ruby-changes:39070] normal:r51151 (trunk): gc.c (gc_profile_record_get): fix spelling error in keys
normal 2015-07-05 18:28:16 +0900 (Sun, 05 Jul 2015) New Revision: 51151 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51151 Log: gc.c (gc_profile_record_get): fix spelling error in keys This may cause compatibility problems for some users, but maybe nobody tracked it closely in the past because it is disabled by default. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 51150) +++ ChangeLog (revision 51151) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Jul 5 18:25:37 2015 Eric Wong <e@8...> + + * gc.c (gc_profile_record_get): fix spelling error in keys + Sun Jul 5 14:49:01 2015 CHIKANAGA Tomoyuki <nagachika@r...> * README.md: fix a typo pointed out by raoulvdberge. Index: gc.c =================================================================== --- gc.c (revision 51150) +++ gc.c (revision 51151) @@ -8536,8 +8536,8 @@ gc_profile_record_get(void) https://github.com/ruby/ruby/blob/trunk/gc.c#L8536 #if RGENGC_PROFILE > 0 rb_hash_aset(prof, ID2SYM(rb_intern("OLD_OBJECTS")), SIZET2NUM(record->old_objects)); - rb_hash_aset(prof, ID2SYM(rb_intern("REMEMBED_NORMAL_OBJECTS")), SIZET2NUM(record->remembered_normal_objects)); - rb_hash_aset(prof, ID2SYM(rb_intern("REMEMBED_SHADY_OBJECTS")), SIZET2NUM(record->remembered_shady_objects)); + rb_hash_aset(prof, ID2SYM(rb_intern("REMEMBERED_NORMAL_OBJECTS")), SIZET2NUM(record->remembered_normal_objects)); + rb_hash_aset(prof, ID2SYM(rb_intern("REMEMBERED_SHADY_OBJECTS")), SIZET2NUM(record->remembered_shady_objects)); #endif rb_ary_push(gc_profile, prof); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/