summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-01-09 22:32:55 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-01-09 22:32:55 +0000
commit7d8790cdc468a3f3743e580338567f4a16c4ef05 (patch)
tree56aed5e5dcbe3687848ef2f4c5f580c7d4d13e45 /signal.c
parentccbf4ea1193d2d995ff9e5195a2add2c8851cb6f (diff)
* gc.c (gc_stress): renamed from always_gc and enabled by default.
(gc_stress_get): new function for GC.stress. (gc_stress_set): new function for GC.stress=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signal.c b/signal.c
index 9a1044c991..1f191c6966 100644
--- a/signal.c
+++ b/signal.c
@@ -944,12 +944,12 @@ Init_signal(void)
#endif
#ifdef SIGBUS
-# ifndef RUBY_GC_DEBUG
+# ifndef RUBY_GC_STRESS
install_sighandler(SIGBUS, sigbus);
# endif
#endif
#ifdef SIGSEGV
-# ifndef RUBY_GC_DEBUG
+# ifndef RUBY_GC_STRESS
install_sighandler(SIGSEGV, sigsegv);
# endif
#endif