diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-16 16:20:18 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-16 16:20:18 +0000 |
commit | 79afabe0c5f5aa1df305fac7708f1d5ef278bc83 (patch) | |
tree | cd202280556006e3326b3b1f3f18b11eb6e1c727 /ChangeLog | |
parent | 4651910af145c2b52c100385fbc7245f01846f72 (diff) | |
download | ruby-79afabe0c5f5aa1df305fac7708f1d5ef278bc83.tar.gz |
* hash.c (hash_update): always raise an exception when adding a new
key during iteration. Traditionally, an exception was raised only
when rehash occurs, but it may lead to difficult bug to reproduce.
[ruby-core:23614]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Wed Feb 17 01:16:12 2010 Yusuke Endoh <mame@tsg.ne.jp> + + * hash.c (hash_update): always raise an exception when adding a new + key during iteration. Traditionally, an exception was raised only + when rehash occurs, but it may lead to difficult bug to reproduce. + [ruby-core:23614] + Tue Feb 16 22:09:27 2010 Yusuke Endoh <mame@tsg.ne.jp> * gc.c (chain_finalized_object): fix precedence. |