Marcus Meissner
aa667cf72c
- update to 1.5 - gzip -cdf mishandles some concatenated input streams: test it - gzip -cdf now handles concatenation of gzip'd and uncompressed data - gzip: fix a data-loss bug when decompressing with --suffix='' - gzip: fix nondeterministic compression results - fix "znew -K" to work without use of compress utility - Decode FHCRC flag properly, as per Internet RFC 1952. - zgrep: fix parsing of -Eh options - zgrep: terminate gracefully when a pipeline is interrupted by a signal - zgrep: fix shell portability bug with -f; fix mishandling of "-e -" - zless: decompress stdin too, if less 429 or later - dropped gzip-stdio.in.patch, refreshed others OBS-URL: https://build.opensuse.org/request/show/138375 OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=20
18 lines
831 B
Diff
18 lines
831 B
Diff
Index: zdiff.in
|
|
===================================================================
|
|
--- zdiff.in.orig 2012-01-01 09:53:58.000000000 +0100
|
|
+++ zdiff.in 2012-10-16 13:40:46.854905141 +0200
|
|
@@ -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 |
|
|
+ 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
|
|
)
|
|
cmp_status=$?
|