[ruby-cvs:66635] ko1:r59457 (trunk): should not copy promoted flags.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Aug 1 11:10:20 JST 2017


ko1	2017-08-01 11:10:19 +0900 (Tue, 01 Aug 2017)

  New Revision: 59457

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

  Log:
    should not copy promoted flags.
    
    * include/ruby/ruby.h (rb_clone_setup): should not copy some flags
      (FL_PROMOTED0|FL_PROMOTED1|FL_FINALIZE).
      [Bug #13775]
    
    * test/ruby/test_object.rb: add a test (note that this test will fail
      only when RGENGC_CHECK_MODE >= 2).

  Modified files:
    trunk/include/ruby/ruby.h
    trunk/test/ruby/test_object.rb


More information about the ruby-cvs mailing list