[ruby-cvs:53516] akr:r46370 (trunk): * object.c (rb_mod_initialize_clone): Override Kernel#initialize_clone

akr at ruby-lang.org akr at ruby-lang.org
Sat Jun 7 11:41:03 JST 2014


akr	2014-06-07 11:41:01 +0900 (Sat, 07 Jun 2014)

  New Revision: 46370

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

  Log:
    * object.c (rb_mod_initialize_clone): Override Kernel#initialize_clone
      to avoid an exception on Class.new.freeze.clone.to_s.
      Reported by Andrew Grimm.  [ruby-core:41858] [Bug #5828]

  Modified files:
    trunk/ChangeLog
    trunk/object.c
    trunk/test/ruby/test_class.rb


More information about the ruby-cvs mailing list