Author: aurel32
Date: 2007-11-16 13:23:52 +0000 (Fri, 16 Nov 2007)
New Revision: 2667

Added:
   
glibc-package/branches/glibc-2.7/debian/patches/any/local-linuxthreads-signals.diff
Modified:
   glibc-package/branches/glibc-2.7/debian/changelog
   glibc-package/branches/glibc-2.7/debian/patches/series
Log:
  * any/local-linuxthreads-signals.diff: always use non-RT signal handler
    on GNU/kFreeBSD.



Modified: glibc-package/branches/glibc-2.7/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.7/debian/changelog   2007-11-16 12:57:55 UTC 
(rev 2666)
+++ glibc-package/branches/glibc-2.7/debian/changelog   2007-11-16 13:23:52 UTC 
(rev 2667)
@@ -102,6 +102,8 @@
     linuxthreads.
   * any/local-stdio-lock.diff: make _IO_*_lock linuxthreads compliant.
   * any/local-o_cloexec.diff: don't assume O_CLOEXEC is always defined.
+  * any/local-linuxthreads-signals.diff: always use non-RT signal handler
+    on GNU/kFreeBSD.
 
   [ Pierre Habouzit ]
   * Remove any/local-iconv-fix-trampoline.diff (obsolete).

Added: 
glibc-package/branches/glibc-2.7/debian/patches/any/local-linuxthreads-signals.diff
===================================================================
--- 
glibc-package/branches/glibc-2.7/debian/patches/any/local-linuxthreads-signals.diff
                         (rev 0)
+++ 
glibc-package/branches/glibc-2.7/debian/patches/any/local-linuxthreads-signals.diff
 2007-11-16 13:23:52 UTC (rev 2667)
@@ -0,0 +1,14 @@
+--- linuxthreads/signals.c~    2007-11-15 12:46:17.000000000 +0100
++++ linuxthreads/signals.c     2007-11-15 12:46:17.000000000 +0100
+@@ -99,9 +99,11 @@
+       if (act->sa_handler != SIG_IGN && act->sa_handler != SIG_DFL
+         && sig > 0 && sig < NSIG)
+       {
++#if !defined(__FreeBSD_kernel__)
+         if (act->sa_flags & SA_SIGINFO)
+           newact.sa_handler = (__sighandler_t) __pthread_sighandler_rt;
+         else
++#endif          
+           newact.sa_handler = (__sighandler_t) __pthread_sighandler;
+         if (old == SIG_IGN || old == SIG_DFL || old == SIG_ERR)
+           __sighandler[sig].old = (arch_sighandler_t) act->sa_handler;

Modified: glibc-package/branches/glibc-2.7/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.7/debian/patches/series      2007-11-16 
12:57:55 UTC (rev 2666)
+++ glibc-package/branches/glibc-2.7/debian/patches/series      2007-11-16 
13:23:52 UTC (rev 2667)
@@ -143,6 +143,7 @@
 any/local-linuxthreads-lowlevellock.diff -p0
 any/local-linuxthreads-fatalprepare.diff -p0
 any/local-linuxthreads-semaphore_h.diff 
+any/local-linuxthreads-signals.diff -p0
 any/local-linuxthreads-tst-sighandler.diff 
 any/local-linuxthreads-unwind.diff -p0
 any/local-localedef-fix-trampoline.diff -p0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to