ruby-changes:40589
From: ko1 <ko1@a...>
Date: Thu, 19 Nov 2015 15:54:52 +0900 (JST)
Subject: [ruby-changes:40589] ko1:r52668 (trunk): * signal.c: should also clear ruby_disable_gc.
ko1 2015-11-19 15:54:35 +0900 (Thu, 19 Nov 2015) New Revision: 52668 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52668 Log: * signal.c: should also clear ruby_disable_gc. [Bug #11692] Modified files: trunk/ChangeLog trunk/signal.c Index: ChangeLog =================================================================== --- ChangeLog (revision 52667) +++ ChangeLog (revision 52668) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Nov 19 15:53:21 2015 Koichi Sasada <ko1@a...> + + * signal.c: should also clear ruby_disable_gc. + [Bug #11692] + Thu Nov 19 15:31:45 2015 Koichi Sasada <ko1@a...> * compile.c (iseq_compile_each): T_IMEMO/iseq objects should be Index: signal.c =================================================================== --- signal.c (revision 52667) +++ signal.c (revision 52668) @@ -752,7 +752,7 @@ rb_get_next_signal(void) https://github.com/ruby/ruby/blob/trunk/signal.c#L752 #if defined SIGSEGV || defined SIGBUS || defined SIGILL || defined SIGFPE static const char *received_signal; -# define clear_received_signal() (void)(received_signal = 0) +# define clear_received_signal() (void)(ruby_disable_gc = 0, received_signal = 0) #else # define clear_received_signal() ((void)0) #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/