ruby-changes:34032
From: nobu <ko1@a...>
Date: Sun, 25 May 2014 20:00:34 +0900 (JST)
Subject: [ruby-changes:34032] nobu:r46113 (trunk): signal.c: revert part of r46100
nobu 2014-05-25 20:00:26 +0900 (Sun, 25 May 2014) New Revision: 46113 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46113 Log: signal.c: revert part of r46100 * signal.c (check_stack_overflow): revert part of r46100, the previous condition was correct, and fix compilation error on other architecture linux. [ruby-core:62746] [Bug #9862] Modified files: trunk/ChangeLog trunk/signal.c Index: ChangeLog =================================================================== --- ChangeLog (revision 46112) +++ ChangeLog (revision 46113) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun May 25 20:00:23 2014 Nobuyoshi Nakada <nobu@r...> + + * signal.c (check_stack_overflow): revert part of r46100, the + previous condition was correct, and fix compilation error on + other architecture linux. [ruby-core:62746] [Bug #9862] + Sun May 25 17:09:13 2014 Tanaka Akira <akr@f...> * test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile) Index: signal.c =================================================================== --- signal.c (revision 46112) +++ signal.c (revision 46113) @@ -702,7 +702,7 @@ rb_get_next_signal(void) https://github.com/ruby/ruby/blob/trunk/signal.c#L702 #if defined(USE_SIGALTSTACK) || defined(_WIN32) NORETURN(void ruby_thread_stack_overflow(rb_thread_t *th)); -#if (defined(HAVE_UCONTEXT_H) && (defined __i386__ || defined __x86_64__)) +#if !(defined(HAVE_UCONTEXT_H) && (defined __i386__ || defined __x86_64__)) #elif defined __linux__ # define USE_UCONTEXT_REG 1 #elif defined __APPLE__ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/