1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* iseq.c (cdhash_each): resurrects internal literals.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-02-26 04:23:21 +00:00
parent 2c288bf91f
commit 905c157917
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Feb 26 13:23:20 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* iseq.c (cdhash_each): resurrects internal literals.
Thu Feb 26 10:56:48 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/win32.h (rb_w32_wopen): prototype forgotten.

2
iseq.c
View file

@ -1018,7 +1018,7 @@ exception_type2symbol(VALUE type)
static int
cdhash_each(VALUE key, VALUE value, VALUE ary)
{
rb_ary_push(ary, key);
rb_ary_push(ary, obj_resurrect(key));
rb_ary_push(ary, value);
return ST_CONTINUE;
}