diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-07 02:16:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-07 02:16:04 +0000 |
commit | 7416073cded9976e7b87d142cca79ce2b0fcc845 (patch) | |
tree | 21793d331381dad60abda6eb4394ccd211d3cbd6 /ChangeLog | |
parent | 77280b6cd66467c7ff7f04c4849dd4a5181d5397 (diff) | |
download | ruby-7416073cded9976e7b87d142cca79ce2b0fcc845.tar.gz |
hash.c: rb_hash_reject without dup
* hash.c (rb_hash_reject): copy unrejected elements only to new hash,
so that the change on the original receiver can affect.
[ruby-core:58914] [Bug #9223]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sat Dec 7 11:15:52 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * hash.c (rb_hash_reject): copy unrejected elements only to new hash, + so that the change on the original receiver can affect. + [ruby-core:58914] [Bug #9223] + Sat Dec 7 08:25:00 2013 Richo Healey <richo@psych0tik.net> * test/ruby/test_struct.rb: Add regression test for question marks and |