* 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
This commit is contained in:
parent
6a90578f76
commit
25b944d41c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user