]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - gzip/patches/gzip-1.3.10-zgreppipe.patch
gzip: Update to 1.5.
[people/ms/ipfire-3.x.git] / gzip / patches / gzip-1.3.10-zgreppipe.patch
diff --git a/gzip/patches/gzip-1.3.10-zgreppipe.patch b/gzip/patches/gzip-1.3.10-zgreppipe.patch
new file mode 100644 (file)
index 0000000..7797eef
--- /dev/null
@@ -0,0 +1,12 @@
+--- gzip-1.3.10/zgrep.in.pom   2006-12-30 04:01:51.000000000 +0100
++++ gzip-1.3.10/zgrep.in       2007-02-06 10:54:33.000000000 +0100
+
+@@ -190,5 +190,8 @@
+   r=$?
+   test "$gzip_status" -eq 0 || test "$gzip_status" -eq 2 || r=2
+   test $res -lt $r && res=$r
++  # SIGPIPE + 128
++  test "$r" -eq 141 && exit $res 
+ done
++trap - SIGPIPE
+ exit $res