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

ruby-changes:51592

From: nobu <ko1@a...>
Date: Sat, 30 Jun 2018 20:56:59 +0900 (JST)
Subject: [ruby-changes:51592] nobu:r63803 (trunk): use sigsetjmp on macOS

nobu	2018-06-30 20:56:54 +0900 (Sat, 30 Jun 2018)

  New Revision: 63803

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63803

  Log:
    use sigsetjmp on macOS
    
    SIGCHLD is used internally since r63758, the signal masks need to
    be restored.

  Modified files:
    trunk/configure.ac
Index: configure.ac
===================================================================
--- configure.ac	(revision 63802)
+++ configure.ac	(revision 63803)
@@ -766,6 +766,7 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.ac#L766
 		AS_IF([test $gcc_major -lt 4 -o \( $gcc_major -eq 4 -a $gcc_minor -lt 3 \)], [
 		    ac_cv_func___builtin_setjmp=no
 		])
+		with_setjmp_type=sigsetjmp # to hijack SIGCHLD handler
 		AC_CACHE_CHECK(for broken crypt with 8bit chars, rb_cv_broken_crypt,
 		    [AC_TRY_RUN([
 #include <stdio.h>

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

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