looks like one unwrapped use of SIGPIPE remains in upstream 1.6
authorBdale Garbee <bdale@gag.com>
Tue, 11 Jun 2013 16:52:41 +0000 (10:52 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 11 Jun 2013 16:52:41 +0000 (10:52 -0600)
debian/patches/series
debian/patches/sigpipe.diff [new file with mode: 0644]

index 5218658ee3efe055e12a991f3013153e1b0c5c99..7f6a5565953eb60698b395a70cc74b6142b012ed 100644 (file)
@@ -1 +1,2 @@
 rsyncable.diff
+sigpipe.diff
diff --git a/debian/patches/sigpipe.diff b/debian/patches/sigpipe.diff
new file mode 100644 (file)
index 0000000..2bc2303
--- /dev/null
@@ -0,0 +1,14 @@
+--- gzip-1.6.orig/gzip.c
++++ gzip-1.6/gzip.c
+@@ -562,7 +562,11 @@ int main (int argc, char **argv)
+     ALLOC(ush, tab_prefix1, 1L<<(BITS-1));
+ #endif
++#ifdef SIGPIPE
+     exiting_signal = quiet ? SIGPIPE : 0;
++#else
++    exiting_signal = 0;
++#endif
+     install_signal_handlers ();
+     /* And get to work */