diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-09 22:32:55 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-09 22:32:55 +0000 |
commit | 7d8790cdc468a3f3743e580338567f4a16c4ef05 (patch) | |
tree | 56aed5e5dcbe3687848ef2f4c5f580c7d4d13e45 /signal.c | |
parent | ccbf4ea1193d2d995ff9e5195a2add2c8851cb6f (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |