diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-11 07:01:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-11 07:01:29 +0000 |
commit | 740535f843d65be45732e45b9fc07eadc4d63ba7 (patch) | |
tree | 4f0745f8f3a1157e088d1d9c5b55b88dc987c113 /string.c | |
parent | bd892d05ed0565526c26b3e126a469e19865107b (diff) | |
download | ruby-740535f843d65be45732e45b9fc07eadc4d63ba7.tar.gz |
hash.c: reject should return a plain hash
* hash.c (rb_hash_reject): return a plain hash, without copying
the class, default value, instance variables, and taintedness.
they had been copied just by accident.
[ruby-core:59045] [Bug #9223]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions