mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
re-introduce RUBY_GC_STRESS test removed by YARV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5cbefb96b9
commit
e3dd9a78db
1 changed files with 4 additions and 0 deletions
4
signal.c
4
signal.c
|
@ -1047,10 +1047,14 @@ Init_signal(void)
|
|||
#endif
|
||||
|
||||
#ifdef SIGBUS
|
||||
# ifndef RUBY_GC_STRESS
|
||||
install_sighandler(SIGBUS, sigbus);
|
||||
# endif
|
||||
#endif
|
||||
#ifdef SIGSEGV
|
||||
# ifndef RUBY_GC_STRESS
|
||||
install_sighandler(SIGSEGV, sigsegv);
|
||||
# endif
|
||||
#endif
|
||||
#ifdef SIGPIPE
|
||||
install_sighandler(SIGPIPE, sigpipe);
|
||||
|
|
Loading…
Add table
Reference in a new issue