ruby-changes:32185
From: a_matsuda <ko1@a...>
Date: Tue, 17 Dec 2013 20:18:52 +0900 (JST)
Subject: [ruby-changes:32185] a_matsuda:r44264 (trunk): * ext/objspace/object_tracing.c: Fix typo in a variable name
a_matsuda 2013-12-17 20:18:47 +0900 (Tue, 17 Dec 2013) New Revision: 44264 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44264 Log: * ext/objspace/object_tracing.c: Fix typo in a variable name s/registerd/registered/ Modified files: trunk/ext/objspace/object_tracing.c Index: ext/objspace/object_tracing.c =================================================================== --- ext/objspace/object_tracing.c (revision 44263) +++ ext/objspace/object_tracing.c (revision 44264) @@ -274,7 +274,7 @@ trace_object_allocations(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/objspace/object_tracing.c#L274 } int rb_bug_reporter_add(void (*func)(FILE *, void *), void *data); -static int object_allocations_reporter_registerd = 0; +static int object_allocations_reporter_registered = 0; static int object_allocations_reporter_i(st_data_t key, st_data_t val, st_data_t ptr) @@ -307,8 +307,8 @@ static VALUE https://github.com/ruby/ruby/blob/trunk/ext/objspace/object_tracing.c#L307 trace_object_allocations_debug_start(VALUE self) { tmp_keep_remains = 1; - if (object_allocations_reporter_registerd == 0) { - object_allocations_reporter_registerd = 1; + if (object_allocations_reporter_registered == 0) { + object_allocations_reporter_registered = 1; rb_bug_reporter_add(object_allocations_reporter, 0); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/