[ruby-cvs:51721] nagachika:r44576 (ruby_2_0_0): merge revision(s) 44260: [Backport #9168]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Jan 12 23:23:54 JST 2014


nagachika	2014-01-12 23:23:53 +0900 (Sun, 12 Jan 2014)

  New Revision: 44576

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

  Log:
    merge revision(s) 44260: [Backport #9168] 
    
    patch inspired from r44260 on trunk. [ruby-core:58652] [Bug #9168]
    
    * gc.c (run_finalizer): clear th->errinfo before invoke finalizer and
      restore afterward.
    
    * test/ruby/test_gc.rb (test_exception_in_finalizer): add test for
      above.
    
    * vm_trace.c (rb_threadptr_exec_event_hooks_orig): clear th->errinfo
      before invoke hook.

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/gc.c
    branches/ruby_2_0_0/test/ruby/test_gc.rb
    branches/ruby_2_0_0/version.h
    branches/ruby_2_0_0/vm_trace.c


More information about the ruby-cvs mailing list