[Bug #1675] typo in variable.c

Bug #1675: typo in variable.c
http://redmine.ruby-lang.org/issues/show/1675

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Koichi Sasada
ruby -v: r23818

geneic e$B$Oe(B generic e$B$Ne(B typo e$B$G$O$J$$$G$7$g$&$+!#e(B

Index: trunk/variable.c

— trunk/variable.c (revision 23818)
+++ trunk/variable.c (working copy)
@@ -920,7 +920,7 @@
}

size_t
-rb_geneic_ivar_memsize(VALUE obj)
+rb_generic_ivar_memsize(VALUE obj)
{
st_data_t tbl;
if (st_delete(generic_iv_tbl, &obj, &tbl))
Index: trunk/ext/objspace/objspace.c

— trunk/ext/objspace/objspace.c (revision 23818)
+++ trunk/ext/objspace/objspace.c (working copy)
@@ -34,7 +34,7 @@
size_t st_memsize(st_table *);
size_t rb_io_memsize(rb_io_t *);
size_t onig_memsize(regex_t *);
-size_t rb_geneic_ivar_memsize(VALUE);
+size_t rb_generic_ivar_memsize(VALUE);
size_t rb_objspace_data_type_memsize(VALUE obj);

void rb_objspace_each_objects(
@@ -51,7 +51,7 @@
}

 if (FL_TEST(obj, FL_EXIVAR)) {
  • size += rb_geneic_ivar_memsize(obj);
  • size += rb_generic_ivar_memsize(obj);
    }

    switch (BUILTIN_TYPE(obj)) {

e$B%A%1%C%He(B #1675 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r23820.

http://redmine.ruby-lang.org/issues/show/1675