(pthread_sighandler): Add SIGCONTEXT_EXTRA_ARGS to call to signal
authordrepper <drepper>
Mon, 23 Aug 1999 17:40:23 +0000 (17:40 +0000)
committerdrepper <drepper>
Mon, 23 Aug 1999 17:40:23 +0000 (17:40 +0000)
handler.

linuxthreads/signals.c

index 8afb673..1293ce5 100644 (file)
@@ -88,7 +88,7 @@ static void pthread_sighandler(int signo, SIGCONTEXT ctx)
   in_sighandler = THREAD_GETMEM(self, p_in_sighandler);
   if (in_sighandler == NULL)
     THREAD_SETMEM(self, p_in_sighandler, CURRENT_STACK_FRAME);
-  sighandler[signo](signo, ctx);
+  sighandler[signo](signo, SIGCONTEXT_EXTRA_ARGS ctx);
   if (in_sighandler == NULL)
     THREAD_SETMEM(self, p_in_sighandler, NULL);
 }