Accepting request 48470 from home:vuntz:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/48470 OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
443c3baf68
commit
8cdc6a4ecc
15
zdiff.diff
15
zdiff.diff
@@ -2,25 +2,16 @@ Index: zdiff.in
|
||||
===================================================================
|
||||
--- zdiff.in.orig
|
||||
+++ zdiff.in
|
||||
@@ -105,15 +105,17 @@ elif test $# -eq 2; then
|
||||
@@ -105,9 +105,9 @@ elif test $# -eq 2; then
|
||||
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 |
|
||||
- eval "$cmp" /dev/fd/5 -) 5<&0
|
||||
+ 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 |
|
||||
+ eval "$cmp" /dev/fd/5 - >&3) 5<&0
|
||||
eval "$cmp" /dev/fd/5 - >&3) 5<&0
|
||||
)
|
||||
+ cmp_status=$?
|
||||
case $gzip_status in
|
||||
*[1-9]*) gzip_status=1;;
|
||||
*) gzip_status=0;;
|
||||
esac
|
||||
+ (exit $cmp_status)
|
||||
else
|
||||
F=`expr "/$2" : '.*/\(.*\)[-.][zZtga]*$'` || F=$prog
|
||||
tmp=
|
||||
cmp_status=$?
|
||||
|
Reference in New Issue
Block a user