[ruby-cvs:50487] nagachika:r43345 (ruby_2_0_0): merge revision(s) 43334: [Backport #9030]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Fri Oct 18 02:34:23 JST 2013


nagachika	2013-10-18 02:34:22 +0900 (Fri, 18 Oct 2013)

  New Revision: 43345

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

  Log:
    merge revision(s) 43334: [Backport #9030]
    
    * vm_insnhelper.c (vm_call_method): set ci->me to 0 when the
      original method of a refined method is undef to avoid SEGV.
    
    * vm_method.c (rb_method_entry_without_refinements): return 0 when
      the original method of a refined method is undef to avoid SEGV.
    
    * test/ruby/test_refinement.rb: related test.

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/test/ruby/test_refinement.rb
    branches/ruby_2_0_0/version.h
    branches/ruby_2_0_0/vm_insnhelper.c
    branches/ruby_2_0_0/vm_method.c


More information about the ruby-cvs mailing list