diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-17 08:55:01 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-17 08:55:01 +0000 |
commit | 3bc58582a90ed08b0398acc5a9aa71b3c94488e1 (patch) | |
tree | 09842303186af138bf6962cadf48aad15f0508df /signal.c | |
parent | a2279999c7cd8755f357cde80ec61c422b0f0815 (diff) |
merge revision(s) 49463: [Backport #10814]
signal.c: SIGBUS by stack overflow on Funtoo
* signal.c (sigbus): seems that Funtoo Linux also delivers SIGBUS
at stack overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -648,7 +648,8 @@ sigbus(int sig SIGINFO_ARG) * and it's delivered as SIGBUS instaed of SIGSEGV to userland. It's crazy * wrong IMHO. but anyway we have to care it. Sigh. */ -#if defined __APPLE__ + /* Seems Linux also delivers SIGBUS. */ +#if defined __APPLE__ || defined __linux__ CHECK_STACK_OVERFLOW(); #endif rb_bug("Bus Error"); |