[ruby-cvs:52221] nobu:r45076 (trunk): class.c: do nothing if copying self

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Feb 21 20:42:04 JST 2014


nobu	2014-02-21 20:42:03 +0900 (Fri, 21 Feb 2014)

  New Revision: 45076

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45076

  Log:
    class.c: do nothing if copying self
    
    * class.c (rb_mod_init_copy): do nothing if copying self.
      [ruby-dev:47989] [Bug #9535]
    * hash.c (rb_hash_initialize_copy): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/class.c
    trunk/ext/bigdecimal/bigdecimal.c
    trunk/ext/json/generator/generator.c
    trunk/ext/zlib/zlib.c
    trunk/hash.c
    trunk/test/ruby/test_hash.rb
    trunk/test/ruby/test_module.rb


More information about the ruby-cvs mailing list