зеркало из https://github.com/github/ruby.git
* 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:
Родитель
7ae65d0121
Коммит
95273072a7
|
@ -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
|
||||
|
|
2
signal.c
2
signal.c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче