diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-22 08:07:12 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-22 08:07:12 +0000 |
commit | 65aa6b9a51021d30f106191f6747eccb20e9f579 (patch) | |
tree | 3c7ace85c2b792a4dad7ef30f6b849de8630e784 /signal.c | |
parent | be21791e57c1779933696f26968d1562e6cf2218 (diff) | |
download | ruby-65aa6b9a51021d30f106191f6747eccb20e9f579.tar.gz |
* signal.c (Init_signal): avoid duplicated installation of SIGCHLD
handler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -968,10 +968,9 @@ Init_signal(void) install_sighandler(SIGPIPE, sigpipe); #endif -#ifdef SIGCLD +#if defined(SIGCLD) init_sigchld(SIGCLD); -#endif -#ifdef SIGCHLD +#elif defined(SIGCHLD) init_sigchld(SIGCHLD); #endif |