Popup_message_stop

NIIBE Yutaka gniibe at fsij.org
Wed Jul 3 03:02:01 CEST 2013


I have a patch to nPth (reproduced below).

Do I need to send DCO for nPth change?

diff --git a/src/npth-sigev.c b/src/npth-sigev.c
index f1271d1..aab977e 100644
--- a/src/npth-sigev.c
+++ b/src/npth-sigev.c
@@ -126,6 +126,13 @@ npth_sigev_add (int signum)
 }
 

+static void
+restore_sigmask_for_child_process (void)
+{
+  pthread_sigmask (SIG_SETMASK, &sigev_unblock, NULL);
+}
+
+
 /* Finish the list of watched signals.  This starts to block them,
    too.  */
 void
@@ -133,6 +140,7 @@ npth_sigev_fini (void)
 {
   /* Block the interesting signals.  */
   pthread_sigmask (SIG_SETMASK, &sigev_block, NULL);
+  pthread_atfork (NULL, NULL, restore_sigmask_for_child_process);
 }
 

-- 





More information about the Gnupg-devel mailing list