changeset 2674:f3ee0b78150a trunk

[svn] - use pthread_sigmask(SIG_BLOCK, ...) instead of of SIG_SETMASK
author nenolod
date Tue, 10 Apr 2007 14:16:32 -0700
parents 82e24035fdf8
children ec92054edee9
files ChangeLog src/audacious/build_stamp.c src/audacious/signals.c
diffstat 3 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Apr 10 11:29:48 2007 -0700
+++ b/ChangeLog	Tue Apr 10 14:16:32 2007 -0700
@@ -1,3 +1,11 @@
+2007-04-10 18:29:48 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4372]
+  - chase r4368.
+  
+  trunk/src/audacious/output.c |    3 ++-
+  1 file changed, 2 insertions(+), 1 deletion(-)
+
+
 2007-04-10 18:29:11 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4370]
   - chase r4368.
--- a/src/audacious/build_stamp.c	Tue Apr 10 11:29:48 2007 -0700
+++ b/src/audacious/build_stamp.c	Tue Apr 10 14:16:32 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070410-4370";
+const gchar *svn_stamp = "20070410-4372";
--- a/src/audacious/signals.c	Tue Apr 10 11:29:48 2007 -0700
+++ b/src/audacious/signals.c	Tue Apr 10 14:16:32 2007 -0700
@@ -27,8 +27,8 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/types.h>
+#include <pthread.h>	/* for pthread_sigmask() */
 #include <signal.h>
-#include <pthread.h>	/* for pthread_sigmask() */
 #include <strings.h>
 
 #ifdef HAVE_EXECINFO_H
@@ -141,7 +141,7 @@
     sigaddset(&blockset, SIGINT);
     sigaddset(&blockset, SIGTERM);
 
-    if(pthread_sigmask(SIG_SETMASK, &blockset, NULL))
+    if(pthread_sigmask(SIG_BLOCK, &blockset, NULL))
         g_print("pthread_sigmask() failed.\n");    
 }