diff --git a/ChangeLog b/ChangeLog index 3f691ea288..0f8df08445 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 27 12:05:40 2010 NAKAMURA Usaku + + * class.c (clone_const): need to return value. fix r29602. + Wed Oct 27 11:58:58 2010 NAKAMURA Usaku * include/ruby/ruby.h (NUM2LONG_internal): add cast to get rid of a diff --git a/class.c b/class.c index 2cb3d2e3bb..2241792eab 100644 --- a/class.c +++ b/class.c @@ -147,6 +147,7 @@ clone_const(ID key, const rb_const_entry_t *ce, st_table *tbl) rb_const_entry_t *nce = ALLOC(rb_const_entry_t); *nce = *ce; st_insert(tbl, key, (st_data_t)nce); + return ST_CONTINUE; } /* :nodoc: */