From ed1dc128db19259d609f4b5c4679ac838918c19a Mon Sep 17 00:00:00 2001 From: hadaq Date: Thu, 28 Oct 2010 20:48:12 +0000 Subject: [PATCH] added SIGPIPE to signalblocking --- libtrbnet/trbnet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtrbnet/trbnet.c b/libtrbnet/trbnet.c index e81996c..df4517b 100644 --- a/libtrbnet/trbnet.c +++ b/libtrbnet/trbnet.c @@ -1,4 +1,4 @@ -const char trbnet_version[] = "$Revision: 2.79 $"; +const char trbnet_version[] = "$Revision: 2.80 $"; #include #include @@ -1119,6 +1119,7 @@ int init_ports() sigemptyset(&blockSet); sigaddset(&blockSet, SIGINT); sigaddset(&blockSet, SIGTERM); + sigaddset(&blockSet, SIGPIPE); sigemptyset(&blockSetOld); /* Get / Create semaphore */ -- 2.43.0