mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
e71903fc61
Attempts to compare two compressed files result in no output and exit status 2. Instead of going to standard output, ‘diff’ output is being captured in the xz_status variable along with the exit status from the decompression commands. Later, when this variable is examined for nonzero status codes, numerals from dates in the ‘diff’ output make it appear as though decompression failed. So let the ‘diff’ output leak to standard output with another file descriptor. (This trick is used in all similar contexts elsewhere in xzdiff and in the analogous context in gzip’s zdiff script.) |
||
---|---|---|
.. | ||
Makefile.am | ||
xzdiff.1 | ||
xzdiff.in | ||
xzgrep.1 | ||
xzgrep.in | ||
xzless.1 | ||
xzless.in | ||
xzmore.1 | ||
xzmore.in |