[ruby-cvs:56858] naruse:r49708 (ruby_2_2): merge revision(s) 49685, 49687: [Backport #10885]

naruse at ruby-lang.org naruse at ruby-lang.org
Tue Feb 24 10:31:18 JST 2015


naruse	2015-02-24 10:31:16 +0900 (Tue, 24 Feb 2015)

  New Revision: 49708

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

  Log:
    merge revision(s) 49685,49687: [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_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/class.c
    branches/ruby_2_2/test/ruby/test_refinement.rb
    branches/ruby_2_2/version.h
    branches/ruby_2_2/vm_core.h
    branches/ruby_2_2/vm_insnhelper.c


More information about the ruby-cvs mailing list