]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - filter/imagetops.c
Merge changes from CUPS 1.5svn-r9763.
[thirdparty/cups.git] / filter / imagetops.c
index 3edc5847ef0ec5b996c542e4ce22319495182436..6649753b1baeded88e240022f74c9f9f4b2f1dcd 100644 (file)
@@ -29,6 +29,7 @@
 #include "image.h"
 #include <math.h>
 #include <cups/language-private.h>
+#include <signal.h>
 
 
 /*
@@ -106,6 +107,12 @@ main(int  argc,                            /* I - Number of command-line arguments */
 
   setbuf(stderr, NULL);
 
+ /*
+  * Ignore broken pipe signals...
+  */
+
+  signal(SIGPIPE, SIG_IGN);
+
  /*
   * Check command-line...
   */