Author: sthibault
Date: 2012-11-27 02:13:47 +0000 (Tue, 27 Nov 2012)
New Revision: 5420

Added:
   
glibc-package/trunk/debian/patches/hurd-i386/unsubmitted-sigstate_is_global_rcv.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
Add patches/hurd-i386/unsubmitted-sigstate_is_global_rcv.diff to fix 
sigstate_is_global_rcv in libpthread-based translators.

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2012-11-27 02:11:00 UTC (rev 
5419)
+++ glibc-package/trunk/debian/changelog        2012-11-27 02:13:47 UTC (rev 
5420)
@@ -19,6 +19,8 @@
   * Add patches/hurd-i386/submitted-fork_port_leak.diff: New patch to fix port
     leak on fork.
   * libc0.3.symbols.hurd-i386: Add libpthread.so.0.3 symbols.
+  * Add patches/hurd-i386/unsubmitted-sigstate_is_global_rcv.diff to fix
+    sigstate_is_global_rcv in libpthread-based translators.
 
  -- Adam Conrad <[email protected]>  Mon, 19 Nov 2012 14:23:26 -0700
 

Added: 
glibc-package/trunk/debian/patches/hurd-i386/unsubmitted-sigstate_is_global_rcv.diff
===================================================================
--- 
glibc-package/trunk/debian/patches/hurd-i386/unsubmitted-sigstate_is_global_rcv.diff
                                (rev 0)
+++ 
glibc-package/trunk/debian/patches/hurd-i386/unsubmitted-sigstate_is_global_rcv.diff
        2012-11-27 02:13:47 UTC (rev 5420)
@@ -0,0 +1,20 @@
+commit 6b2fca45129f07f1575a5a6e5a719090b59555d6
+Author: Richard Braun <[email protected]>
+Date:   Wed Sep 5 11:27:05 2012 +0200
+
+    Hurd: fix sigstate_is_global_rcv
+
+diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
+index 736ce3d..87c685b 100644
+--- a/hurd/hurdsig.c
++++ b/hurd/hurdsig.c
+@@ -159,7 +159,8 @@ _hurd_sigstate_set_global_rcv (struct hurd_sigstate *ss)
+ static int
+ sigstate_is_global_rcv (const struct hurd_sigstate *ss)
+ {
+-  return ss->actions[0].sa_handler == SIG_IGN;
++  return (_hurd_global_sigstate != NULL)
++       && (ss->actions[0].sa_handler == SIG_IGN);
+ }
+ 
+ /* Lock/unlock a hurd_sigstate structure.  If the accessors below require

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series   2012-11-27 02:11:00 UTC (rev 
5419)
+++ glibc-package/trunk/debian/patches/series   2012-11-27 02:13:47 UTC (rev 
5420)
@@ -211,6 +211,7 @@
 hurd-i386/unsubmitted-gnumach.defs.diff
 hurd-i386/submitted-fork_port_leak.diff
 hurd-i386/libpthread_hurd_cond_wait.diff
+hurd-i386/unsubmitted-sigstate_is_global_rcv.diff
 
 kfreebsd/submitted-libc_once.diff
 kfreebsd/local-getaddrinfo-freebsd-kernel.diff


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to