Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vm/signal.cpp
Original file line number Diff line number Diff line change
@@ -389,7 +389,7 @@ namespace rubinius {
}
}

static void segv_handler(int sig) {
static void abandon_ship_handler(int sig) {
struct sigaction action;

// Unset our handler for this signal.
@@ -473,7 +473,7 @@ namespace rubinius {
#ifdef USE_EXECINFO
// If we have execinfo, setup some crash handlers
if(!getenv("DISABLE_SEGV")) {
action.sa_handler = segv_handler;
action.sa_handler = abandon_ship_handler;
sigaction(SIGSEGV, &action, NULL);
sigaction(SIGBUS, &action, NULL);
sigaction(SIGILL, &action, NULL);

0 comments on commit f7d5e79

Please sign in to comment.