chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / patches / any / local-linuxthreads-signals.diff
1 ---
2  linuxthreads/signals.c |    2 ++
3  1 file changed, 2 insertions(+)
4
5 --- a/linuxthreads/signals.c
6 +++ b/linuxthreads/signals.c
7 @@ -99,9 +99,11 @@
8        if (act->sa_handler != SIG_IGN && act->sa_handler != SIG_DFL
9           && sig > 0 && sig < NSIG)
10         {
11 +#if !defined(__FreeBSD_kernel__)
12           if (act->sa_flags & SA_SIGINFO)
13             newact.sa_handler = (__sighandler_t) __pthread_sighandler_rt;
14           else
15 +#endif   
16             newact.sa_handler = (__sighandler_t) __pthread_sighandler;
17           if (old == SIG_IGN || old == SIG_DFL || old == SIG_ERR)
18             __sighandler[sig].old = (arch_sighandler_t) act->sa_handler;