mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* signal.c (register_sigaltstack): ignore sigaltstack error.
It fails on OpenBSD 4.4 when pthread library is linked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fb128ef26f
commit
4e2141622f
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Feb 6 20:37:42 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* signal.c (register_sigaltstack): ignore sigaltstack error.
|
||||
It fails on OpenBSD 4.4 when pthread library is linked.
|
||||
|
||||
Fri Feb 6 18:18:07 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_readdir_with_enc): fallback to OS's conversion
|
||||
|
|
3
signal.c
3
signal.c
|
@ -444,8 +444,7 @@ register_sigaltstack(void)
|
|||
newSS.ss_size = ALT_STACK_SIZE;
|
||||
newSS.ss_flags = 0;
|
||||
|
||||
if (sigaltstack(&newSS, &oldSS) < 0)
|
||||
rb_bug("register_sigaltstack. error\n");
|
||||
sigaltstack(&newSS, &oldSS); /* ignore error. */
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue