ypbind/ypbind-sigpipe.patch
2012-07-23 10:19:26 +02:00

12 lines
471 B
Diff

diff -up ypbind-mt-1.36/src/ypbind-mt.c.sigpipe ypbind-mt-1.36/src/ypbind-mt.c
--- ypbind-mt-1.36/src/ypbind-mt.c.sigpipe 2012-07-23 10:02:12.275896834 +0200
+++ ypbind-mt-1.36/src/ypbind-mt.c 2012-07-23 10:02:47.430632798 +0200
@@ -432,6 +432,7 @@ sig_handler (void *v_param __attribute_
sigaddset (&sigs_to_catch, SIGQUIT);
sigaddset (&sigs_to_catch, SIGSEGV);
sigaddset (&sigs_to_catch, SIGHUP);
+ sigaddset (&sigs_to_catch, SIGPIPE);
while (1)
{