summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2014-08-26 12:01:48 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2014-08-26 12:01:48 +0400
commitea2791432d8fdea62b640eec5e52e2a3280efa8c (patch)
tree0de1184180b6d7650df6516ae66161af05ae8e30 /src/sysdep.c
parentebd31792b292f63f09efa498b5df73bf86107259 (diff)
downloademacs-ea2791432d8fdea62b640eec5e52e2a3280efa8c.tar.gz
* sysdep.c (init_sigsegv) [HAVE_STACK_OVERFLOW_HANDLING]: Add comment.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index f32bd5d1bb6..c0d651b296a 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1754,6 +1754,9 @@ handle_sigsegv (int sig, siginfo_t *siginfo, void *arg)
}
}
+/* Return true if we have successfully set up SIGSEGV handler on alternate
+ stack. Otherwise we just treat SIGSEGV among the rest of fatal signals. */
+
static bool
init_sigsegv (void)
{