* 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
This commit is contained in:
matz 2006-10-22 08:07:12 +00:00
parent be21791e57
commit 65aa6b9a51
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Sun Oct 22 14:48:31 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* signal.c (Init_signal): avoid duplicated installation of SIGCHLD
handler.
Sun Oct 22 16:47:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> Sun Oct 22 16:47:56 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_substr): should be infected with only original * string.c (rb_str_substr): should be infected with only original

View File

@ -968,10 +968,9 @@ Init_signal(void)
install_sighandler(SIGPIPE, sigpipe); install_sighandler(SIGPIPE, sigpipe);
#endif #endif
#ifdef SIGCLD #if defined(SIGCLD)
init_sigchld(SIGCLD); init_sigchld(SIGCLD);
#endif #elif defined(SIGCHLD)
#ifdef SIGCHLD
init_sigchld(SIGCHLD); init_sigchld(SIGCHLD);
#endif #endif