ruby-changes:47623
From: kazu <ko1@a...>
Date: Mon, 4 Sep 2017 21:15:10 +0900 (JST)
Subject: [ruby-changes:47623] kazu:r59739 (trunk): gc.c: fix typo: nubmer -> number
kazu 2017-09-04 21:15:06 +0900 (Mon, 04 Sep 2017) New Revision: 59739 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59739 Log: gc.c: fix typo: nubmer -> number Signed-off-by: Antonio Terceiro <terceiro@s...> [Bug #13862] Modified files: trunk/gc.c Index: gc.c =================================================================== --- gc.c (revision 59738) +++ gc.c (revision 59739) @@ -5312,17 +5312,17 @@ gc_verify_internal_consistency(VALUE dum https://github.com/ruby/ruby/blob/trunk/gc.c#L5312 if (objspace_live_slots(objspace) != data.live_object_count) { fprintf(stderr, "heap_pages_final_slots: %d, objspace->profile.total_freed_objects: %d\n", (int)heap_pages_final_slots, (int)objspace->profile.total_freed_objects); - rb_bug("inconsistent live slot nubmer: expect %"PRIuSIZE", but %"PRIuSIZE".", objspace_live_slots(objspace), data.live_object_count); + rb_bug("inconsistent live slot number: expect %"PRIuSIZE", but %"PRIuSIZE".", objspace_live_slots(objspace), data.live_object_count); } } #if USE_RGENGC if (!is_marking(objspace)) { if (objspace->rgengc.old_objects != data.old_object_count) { - rb_bug("inconsistent old slot nubmer: expect %"PRIuSIZE", but %"PRIuSIZE".", objspace->rgengc.old_objects, data.old_object_count); + rb_bug("inconsistent old slot number: expect %"PRIuSIZE", but %"PRIuSIZE".", objspace->rgengc.old_objects, data.old_object_count); } if (objspace->rgengc.uncollectible_wb_unprotected_objects != data.remembered_shady_count) { - rb_bug("inconsistent old slot nubmer: expect %"PRIuSIZE", but %"PRIuSIZE".", objspace->rgengc.uncollectible_wb_unprotected_objects, data.remembered_shady_count); + rb_bug("inconsistent old slot number: expect %"PRIuSIZE", but %"PRIuSIZE".", objspace->rgengc.uncollectible_wb_unprotected_objects, data.remembered_shady_count); } } #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/