ruby-changes:10537
From: akr <ko1@a...>
Date: Fri, 6 Feb 2009 20:40:45 +0900 (JST)
Subject: [ruby-changes:10537] Ruby:r22091 (trunk): * signal.c (register_sigaltstack): ignore sigaltstack error.
akr 2009-02-06 20:40:33 +0900 (Fri, 06 Feb 2009) New Revision: 22091 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22091 Log: * signal.c (register_sigaltstack): ignore sigaltstack error. It fails on OpenBSD 4.4 when pthread library is linked. Modified files: trunk/ChangeLog trunk/signal.c Index: ChangeLog =================================================================== --- ChangeLog (revision 22090) +++ ChangeLog (revision 22091) @@ -1,3 +1,8 @@ +Fri Feb 6 20:37:42 2009 Tanaka Akira <akr@f...> + + * 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@r...> * win32/win32.c (rb_w32_readdir_with_enc): fallback to OS's conversion Index: signal.c =================================================================== --- signal.c (revision 22090) +++ signal.c (revision 22091) @@ -444,8 +444,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/