mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
be21791e57
commit
65aa6b9a51
2 changed files with 7 additions and 3 deletions
|
|
@ -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>
|
||||
|
||||
* string.c (rb_str_substr): should be infected with only original
|
||||
|
|
|
|||
5
signal.c
5
signal.c
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue