From 25b944d41ca8e0b3af323028cdbd2f99239cc02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 7 Jan 2009 19:02:25 +0000 Subject: [PATCH] * Applied patch by Olivier: fixed sending wrong signal to a custom signal handler. This closes ticket #3265, thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28852 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/x86/arch_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/arch/x86/arch_int.c b/src/system/kernel/arch/x86/arch_int.c index 94fb033cab..5bc57cd660 100644 --- a/src/system/kernel/arch/x86/arch_int.c +++ b/src/system/kernel/arch/x86/arch_int.c @@ -786,7 +786,7 @@ unexpected_exception(struct iframe* frame) if (sigaction(signal, NULL, &action) == 0 && action.sa_handler != SIG_DFL && action.sa_handler != SIG_IGN) { - send_signal(thread->id, SIGSEGV); + send_signal(thread->id, signal); } else if (user_debug_exception_occurred(type, signal)) send_signal(team_get_current_team_id(), signal); } else {