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 | 905c1579174296a9c876a20e93b1fe540ed7adbe (patch) | |
tree | 4731d0d426d905545b924a64be9ba460094f28b2 | |
parent | 2c288bf91f04f93476d2794dff996979ccdfb4cf (diff) | |
download | ruby-905c1579174296a9c876a20e93b1fe540ed7adbe.tar.gz |
* iseq.c (cdhash_each): resurrects internal literals.
git-svn-id: svn+ssh://ci.ruby-lang.org/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; } |