mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
* elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
setjmp.
This commit is contained in:
parent
b15cc6a1ef
commit
8292f6fc71
@ -1,5 +1,7 @@
|
||||
2005-12-17 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
|
||||
setjmp.
|
||||
* elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
|
||||
* elf/dl-minimal.c (longjmp): Remove definition.
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user