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 /math.c | |
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 'math.c')
0 files changed, 0 insertions, 0 deletions