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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
540ffb3abd
commit
2d86890671
@ -1,3 +1,9 @@
|
|||||||
|
Sun May 25 20:00:23 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* 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@fsij.org>
|
Sun May 25 17:09:13 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile)
|
* test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile)
|
||||||
|
2
signal.c
2
signal.c
@ -702,7 +702,7 @@ rb_get_next_signal(void)
|
|||||||
|
|
||||||
#if defined(USE_SIGALTSTACK) || defined(_WIN32)
|
#if defined(USE_SIGALTSTACK) || defined(_WIN32)
|
||||||
NORETURN(void ruby_thread_stack_overflow(rb_thread_t *th));
|
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__
|
#elif defined __linux__
|
||||||
# define USE_UCONTEXT_REG 1
|
# define USE_UCONTEXT_REG 1
|
||||||
#elif defined __APPLE__
|
#elif defined __APPLE__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user