mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
refine previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cf46a2fce6
commit
9f46c2ba2e
1 changed files with 2 additions and 3 deletions
5
signal.c
5
signal.c
|
@ -1070,17 +1070,16 @@ Init_signal(void)
|
|||
#endif
|
||||
|
||||
#ifdef RUBY_DEBUG_ENV
|
||||
if (!enable_coredump) {
|
||||
if (!enable_coredump)
|
||||
#endif
|
||||
{
|
||||
#ifdef SIGBUS
|
||||
install_sighandler(SIGBUS, sigbus);
|
||||
#endif
|
||||
#ifdef SIGSEGV
|
||||
install_sighandler(SIGSEGV, sigsegv);
|
||||
#endif
|
||||
#ifdef RUBY_DEBUG_ENV
|
||||
}
|
||||
#endif
|
||||
#ifdef SIGPIPE
|
||||
install_sighandler(SIGPIPE, sigpipe);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue