]> git.cworth.org Git - gzip/blobdiff - zdiff.in
Avoid creating an undersized buffer for the hufts table.
[gzip] / zdiff.in
index fda3259fe1a808d18d40e00e5337fc6b2aeebe55..1b911aa6a800e5fb2e97acb707fa461afdaed303 100644 (file)
--- a/zdiff.in
+++ b/zdiff.in
@@ -104,7 +104,7 @@ 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
                        )
                        case $gzip_status in
                          *[1-9]*) gzip_status=1;;