1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* signal.c (USE_SIGALTSTACK): NetBSD can't use sigaltstack(2)

with pthread.
  http://netbsd.gw.com/cgi-bin/man-cgi?sigaltstack++NetBSD-current

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-02-15 08:49:51 +00:00
parent c3a51e3ce1
commit c0eb5bb6f2
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,13 @@
Mon Feb 15 17:42:20 2010 NARUSE, Yui <naruse@ruby-lang.org>
* signal.c (USE_SIGALTSTACK): NetBSD can't use sigaltstack(2)
with pthread.
http://netbsd.gw.com/cgi-bin/man-cgi?sigaltstack++NetBSD-current
Mon Feb 15 13:11:47 2010 NARUSE, Yui <naruse@ruby-lang.org>
* array.c (rb_ary_push_m): use rb_ary_modify instead of
rb_ary_modify_check.
rb_ary_modify_check. This fixes regression due to r26632.
Sun Feb 14 12:54:44 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>

View file

@ -419,7 +419,7 @@ static struct {
#define sighandler_t sh_t
#endif
#if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) && defined(SA_SIGINFO)
#if defined(SIGSEGV) && defined(HAVE_SIGALTSTACK) && defined(SA_SIGINFO) && !defined(__NetBSD__)
#define USE_SIGALTSTACK
#endif