(_dl_signal_error): Use __longjmp instead of longjmp.
authordrepper <drepper>
Sat, 17 Dec 2005 23:07:39 +0000 (23:07 +0000)
committerdrepper <drepper>
Sat, 17 Dec 2005 23:07:39 +0000 (23:07 +0000)
elf/dl-error.c

index 3a0d9bb..be9209d 100644 (file)
@@ -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
     {