aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-error.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-17 23:09:41 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-17 23:09:41 +0000
commitb15cc6a1ef600e405212d045e3b681d81434065a (patch)
tree7520aff0b70a0557a0d29300c2364a0775a64be9 /elf/dl-error.c
parent1f0996ef0d8fd7b75c7b63b21353e3127101bb6a (diff)
downloadglibc-b15cc6a1ef600e405212d045e3b681d81434065a.zip
glibc-b15cc6a1ef600e405212d045e3b681d81434065a.tar.gz
glibc-b15cc6a1ef600e405212d045e3b681d81434065a.tar.bz2
* elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
* elf/dl-minimal.c (longjmp): Remove definition.
Diffstat (limited to 'elf/dl-error.c')
-rw-r--r--elf/dl-error.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c
index 3a0d9bb..be9209d 100644
--- a/elf/dl-error.c
+++ b/elf/dl-error.c
@@ -112,7 +112,8 @@ _dl_signal_error (int errcode, const char *objname, const char *occation,
lcatch->errstring = _dl_out_of_memory;
lcatch->malloced = false;
}
- longjmp (lcatch->env, errcode ?: -1);
+ /* We do not restore the signal mask because none was saved. */
+ __longjmp (lcatch->env, errcode ?: -1);
}
else
{