ruby-changes:10941
From: yugui <ko1@a...>
Date: Sun, 22 Feb 2009 18:48:24 +0900 (JST)
Subject: [ruby-changes:10941] Ruby:r22517 (ruby_1_9_1): merges r22091 from trunk into ruby_1_9_1.
yugui 2009-02-22 18:48:12 +0900 (Sun, 22 Feb 2009) New Revision: 22517 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22517 Log: merges r22091 from trunk into ruby_1_9_1. * signal.c (register_sigaltstack): ignore sigaltstack error. It fails on OpenBSD 4.4 when pthread library is linked. Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/signal.c Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 22516) +++ ruby_1_9_1/ChangeLog (revision 22517) @@ -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 12:03:47 2009 NAKAMURA Usaku <usa@r...> * ruby.c (process_options): -K and -E in shebang should be reflect to Index: ruby_1_9_1/signal.c =================================================================== --- ruby_1_9_1/signal.c (revision 22516) +++ ruby_1_9_1/signal.c (revision 22517) @@ -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/