From 5ce018a3c65549365769fc7eb0804136e260ff01 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Tue, 11 Jun 2013 10:52:41 -0600 Subject: [PATCH] looks like one unwrapped use of SIGPIPE remains in upstream 1.6 --- debian/patches/series | 1 + debian/patches/sigpipe.diff | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 debian/patches/sigpipe.diff diff --git a/debian/patches/series b/debian/patches/series index 5218658..7f6a556 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ rsyncable.diff +sigpipe.diff diff --git a/debian/patches/sigpipe.diff b/debian/patches/sigpipe.diff new file mode 100644 index 0000000..2bc2303 --- /dev/null +++ b/debian/patches/sigpipe.diff @@ -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 */ -- 2.30.2