diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-15 08:38:58 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-15 08:38:58 +0000 |
| commit | 57d47da6fc9d11487ad28f524f803304afdd346a (patch) | |
| tree | 315f3e9816177191f77cee461837040cdb0a230a | |
| parent | 0cbf16c375c44100b2b49b56359e7b4cefa034ad (diff) | |
| download | ruby-57d47da6fc9d11487ad28f524f803304afdd346a.tar.gz ruby-57d47da6fc9d11487ad28f524f803304afdd346a.tar.xz ruby-57d47da6fc9d11487ad28f524f803304afdd346a.zip | |
re-introduce RUBY_GC_STRESS test removed by YARV.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | signal.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |
