diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-26 04:23:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-26 04:23:21 +0000 |
commit | f9c9e7ac0abd05c5773433601ca8bfe314cbf73f (patch) | |
tree | 4731d0d426d905545b924a64be9ba460094f28b2 | |
parent | 47a374e3f7e7768118074a19b16dc4e7bd678aa9 (diff) | |
download | ruby-f9c9e7ac0abd05c5773433601ca8bfe314cbf73f.tar.gz ruby-f9c9e7ac0abd05c5773433601ca8bfe314cbf73f.tar.xz ruby-f9c9e7ac0abd05c5773433601ca8bfe314cbf73f.zip |
* iseq.c (cdhash_each): resurrects internal literals.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | iseq.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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. @@ -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; } |