mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* signal.c (ruby_signal): fix condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db0ebb32c9
commit
a5eb40b999
1 changed files with 1 additions and 1 deletions
2
signal.c
2
signal.c
|
@ -477,7 +477,7 @@ ruby_signal(int signum, sighandler_t handler)
|
|||
#endif
|
||||
|
||||
sigemptyset(&sigact.sa_mask);
|
||||
#ifdef SA_SIGINFO
|
||||
#ifdef USE_SIGALTSTACK
|
||||
sigact.sa_sigaction = (ruby_sigaction_t*)handler;
|
||||
sigact.sa_flags = SA_SIGINFO;
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue