Project

General

Profile

« Previous | Next » 

Revision 7416073c

Added by nobu (Nobuyoshi Nakada) over 10 years ago

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