diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-18 08:05:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-18 08:05:17 +0000 |
commit | 88cab63a07aff9731026f7191d9c4263f7fe11b8 (patch) | |
tree | 2f50bda0dd607136eb9c2c8d3347dfd7ac2752b7 /ChangeLog | |
parent | 85bae86cb63bc564959f4649a837fcffdccae3ae (diff) | |
download | ruby-88cab63a07aff9731026f7191d9c4263f7fe11b8.tar.gz |
* hash.c (rb_hash_aset): string key copying only happen if key is
an exact instance of String, not a subclass. based on a patch
from Mike Gold <mike.gold.4433 at gmail.com> in [ruby-talk:322667].
[incompatible] [ruby-talk:322417]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20860 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 @@ +Thu Dec 18 17:00:56 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * hash.c (rb_hash_aset): string key copying only happen if key is + an exact instance of String, not a subclass. based on a patch + from Mike Gold <mike.gold.4433 at gmail.com> in [ruby-talk:322667]. + [incompatible] [ruby-talk:322417] + Thu Dec 18 16:48:12 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * lib/optparse/version.rb: remove variable shadowing to stop |