From: Bdale Garbee Date: Tue, 11 Jun 2013 16:52:41 +0000 (-0600) Subject: looks like one unwrapped use of SIGPIPE remains in upstream 1.6 X-Git-Tag: debian/1.6-1~7 X-Git-Url: https://git.gag.com/?p=debian%2Fgzip;a=commitdiff_plain;h=5ce018a3c65549365769fc7eb0804136e260ff01 looks like one unwrapped use of SIGPIPE remains in upstream 1.6 --- 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 */