gzip/gzip-1.3.12-zdiff.patch
2009-03-13 14:29:04 +00:00

15 lines
559 B
Diff

diff -up gzip-1.3.12/zdiff.in.pom gzip-1.3.12/zdiff.in
--- gzip-1.3.12/zdiff.in.pom 2007-02-08 23:54:59.000000000 +0100
+++ gzip-1.3.12/zdiff.in 2009-03-13 15:07:18.000000000 +0100
@@ -104,8 +104,9 @@ elif test $# -eq 2; then
exec 4>&1
(gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- |
( (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- </dev/null |
- eval "$cmp" /dev/fd/5 -) 5<&0
+ eval "$cmp" /dev/fd/5 - >&3 ) 5<&0
)
+ gzip_status=$?
case $gzip_status in
*[1-9]*) gzip_status=1;;
*) gzip_status=0;;