aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-26 17:45:58 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-26 17:45:58 +0100
commit58ace559c19aae031fb130e3f6c064420ef80fe4 (patch)
tree286ced4332807ca404e84b5e3966037ba89feb35
parentadd undaemonise (diff)
downloadslibc-58ace559c19aae031fb130e3f6c064420ef80fe4.tar.gz
slibc-58ace559c19aae031fb130e3f6c064420ef80fe4.tar.bz2
slibc-58ace559c19aae031fb130e3f6c064420ef80fe4.tar.xz
fix issue #9 on github
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r--src/alloca/needstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloca/needstack.c b/src/alloca/needstack.c
index b75eb02..f522eef 100644
--- a/src/alloca/needstack.c
+++ b/src/alloca/needstack.c
@@ -66,7 +66,7 @@ int stack_will_overflow(intptr_t n)
if (sigprocmask(SIG_SETMASK, &old_mask, NULL))
return 1;
- if (signal(SIGSEGV, Sold_sigsegv_handler) == SIG_ERR)
+ if (signal(SIGSEGV, old_sigsegv_handler) == SIG_ERR)
return 1;
}