]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
added SIGPIPE to signalblocking
authorhadaq <hadaq>
Thu, 28 Oct 2010 20:48:12 +0000 (20:48 +0000)
committerhadaq <hadaq>
Thu, 28 Oct 2010 20:48:12 +0000 (20:48 +0000)
libtrbnet/trbnet.c

index e81996c2949fefc35e623d395f048030ba90f653..df4517bc8e2333bef1e203e51a2ea4acc76b9bed 100644 (file)
@@ -1,4 +1,4 @@
-const char trbnet_version[] = "$Revision: 2.79 $";
+const char trbnet_version[] = "$Revision: 2.80 $";
 
 #include <stdlib.h>
 #include <signal.h>
@@ -1119,6 +1119,7 @@ int init_ports()
   sigemptyset(&blockSet);
   sigaddset(&blockSet, SIGINT);
   sigaddset(&blockSet, SIGTERM);
+  sigaddset(&blockSet, SIGPIPE);
   sigemptyset(&blockSetOld);
   
   /* Get / Create semaphore */