[ruby-cvs:65552] nobu:r58380 (trunk): eval.c: copy special exceptions before raise

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Apr 17 11:31:36 JST 2017


nobu	2017-04-17 11:31:35 +0900 (Mon, 17 Apr 2017)

  New Revision: 58380

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

  Log:
    eval.c: copy special exceptions before raise
    
    * eval.c (setup_exception): consider if the exception is frozen,
      but not one of special exception objects.
    
    * gc.c (rb_memerror): copy minimum objects.
    
    * thread.c (rb_threadptr_execute_interrupts): prepare special
      exception queued by another thread to be raised.

  Modified files:
    trunk/eval.c
    trunk/gc.c
    trunk/thread.c


More information about the ruby-cvs mailing list