[前][次][番号順一覧][スレッド一覧]

ruby-changes:14805

From: naruse <ko1@a...>
Date: Mon, 15 Feb 2010 17:50:06 +0900 (JST)
Subject: [ruby-changes:14805] Ruby:r26667 (trunk): * signal.c (USE_SIGALTSTACK): NetBSD can't use sigaltstack(2)

naruse	2010-02-15 17:49:51 +0900 (Mon, 15 Feb 2010)

  New Revision: 26667

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26667

  Log:
    * signal.c (USE_SIGALTSTACK): NetBSD can't use sigaltstack(2)
      with pthread.
      http://netbsd.gw.com/cgi-bin/man-cgi?sigaltstack++NetBSD-current

  Modified files:
    trunk/ChangeLog
    trunk/signal.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26666)
+++ ChangeLog	(revision 26667)
@@ -1,7 +1,13 @@
+Mon Feb 15 17:42:20 2010  NARUSE, Yui  <naruse@r...>
+
+	* 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@r...>
 
 	* 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@r...>
 
Index: signal.c
===================================================================
--- signal.c	(revision 26666)
+++ signal.c	(revision 26667)
@@ -419,7 +419,7 @@
 #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
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]