зеркало из https://github.com/github/ruby.git
* class.c (clone_const): need to return value. fix r29602.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6ef1aa7964
Коммит
6223582f2a
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Oct 27 12:05:40 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* class.c (clone_const): need to return value. fix r29602.
|
||||||
|
|
||||||
Wed Oct 27 11:58:58 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
Wed Oct 27 11:58:58 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* include/ruby/ruby.h (NUM2LONG_internal): add cast to get rid of a
|
* include/ruby/ruby.h (NUM2LONG_internal): add cast to get rid of a
|
||||||
|
|
1
class.c
1
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);
|
rb_const_entry_t *nce = ALLOC(rb_const_entry_t);
|
||||||
*nce = *ce;
|
*nce = *ce;
|
||||||
st_insert(tbl, key, (st_data_t)nce);
|
st_insert(tbl, key, (st_data_t)nce);
|
||||||
|
return ST_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* :nodoc: */
|
/* :nodoc: */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче