[ruby-cvs:57144] nagachika:r49995 (ruby_2_1): merge revision(s) r49685, r49687: [Backport #10885]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Mar 18 02:34:03 JST 2015


nagachika	2015-03-18 02:34:01 +0900 (Wed, 18 Mar 2015)

  New Revision: 49995

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

  Log:
    merge revision(s) r49685,r49687: [Backport #10885]
    
    * vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
      of orignal crefs. It fixes segmentation fault when calling
      refined method in duplicate module. [ruby-dev:48878] [Bug #10885]
    
    * vm_core.h, class.c: change accordingly.
    
    * test/ruby/test_refinement.rb: add a test for above.
      of original crefs. It fixes segmentation fault when calling

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/class.c
    branches/ruby_2_1/test/ruby/test_refinement.rb
    branches/ruby_2_1/version.h
    branches/ruby_2_1/vm_core.h
    branches/ruby_2_1/vm_insnhelper.c


More information about the ruby-cvs mailing list