1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* signal.c: should also clear ruby_disable_gc.

[Bug #11692]




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-11-19 06:54:35 +00:00
parent 7ae65d0121
commit 95273072a7
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Nov 19 15:53:21 2015 Koichi Sasada <ko1@atdot.net>
* signal.c: should also clear ruby_disable_gc.
[Bug #11692]
Thu Nov 19 15:31:45 2015 Koichi Sasada <ko1@atdot.net>
* compile.c (iseq_compile_each): T_IMEMO/iseq objects should be

View file

@ -752,7 +752,7 @@ rb_get_next_signal(void)
#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