diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-12-17 23:26:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-12-17 23:26:28 +0000 |
commit | 8292f6fc71a60e92a23be053c500f504c6802c54 (patch) | |
tree | 100fe65d6ecec85d60480efdb0e5207af33a9609 /elf | |
parent | b15cc6a1ef600e405212d045e3b681d81434065a (diff) | |
download | glibc-8292f6fc71a60e92a23be053c500f504c6802c54.tar glibc-8292f6fc71a60e92a23be053c500f504c6802c54.tar.gz glibc-8292f6fc71a60e92a23be053c500f504c6802c54.tar.bz2 glibc-8292f6fc71a60e92a23be053c500f504c6802c54.zip |
* elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
setjmp.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-error.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c index be9209da22..b5374e949c 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; |