2010-01-29 15:00:15 +01:00
|
|
|
Index: zdiff.in
|
|
|
|
===================================================================
|
2012-10-17 11:19:18 +02:00
|
|
|
--- zdiff.in.orig 2012-01-01 09:53:58.000000000 +0100
|
|
|
|
+++ zdiff.in 2012-10-16 13:40:46.854905141 +0200
|
2010-09-19 20:10:36 +02:00
|
|
|
@@ -105,9 +105,9 @@ elif test $# -eq 2; then
|
2012-10-17 11:19:18 +02:00
|
|
|
5<&0
|
|
|
|
then
|
|
|
|
gzip_status=$(
|
|
|
|
- exec 4>&1
|
|
|
|
- (gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- |
|
|
|
|
- ( (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- </dev/null |
|
2008-05-09 21:40:28 +02:00
|
|
|
+ exec 4>&1 6<&0
|
|
|
|
+ (gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- 6<&- |
|
|
|
|
+ ( (gzip -cdfq -- "$2" 4>&- 0<&6 6<&-; echo $? >&4) 3>&- 5<&- </dev/null |
|
2012-10-17 11:19:18 +02:00
|
|
|
eval "$cmp" /dev/fd/5 - >&3) 5<&0
|
|
|
|
)
|
|
|
|
cmp_status=$?
|