From e3dd9a78db1f918bd4e621492975b741269b5cb4 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 15 Jun 2007 08:38:58 +0000 Subject: [PATCH] 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 --- signal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/signal.c b/signal.c index e785b6fb96..3f104b1854 100644 --- a/signal.c +++ b/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);