From 8292f6fc71a60e92a23be053c500f504c6802c54 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 17 Dec 2005 23:26:28 +0000 Subject: * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of setjmp. --- elf/dl-error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elf/dl-error.c') diff --git a/elf/dl-error.c b/elf/dl-error.c index be9209d..b5374e9 100644 --- a/elf/dl-error.c +++ b/elf/dl-error.c @@ -170,7 +170,8 @@ _dl_catch_error (const char **objname, const char **errstring, struct catch **const catchp = &CATCH_HOOK; old = *catchp; - errcode = setjmp (c.env); + /* Do not save the signal mask. */ + errcode = __sigsetjmp (c.env, 0); if (__builtin_expect (errcode, 0) == 0) { *catchp = &c; -- cgit v1.1