MinGW: work around gzip doing LF->CRLF conversion when it writes to a file
commitbbd96f463390155499f5965bd6a402e36fb34c8e
authorJohannes Sixt <j6t@kdbg.org>
Fri, 27 Jun 2014 07:38:29 +0000 (27 09:38 +0200)
committerJohannes Sixt <j6t@kdbg.org>
Tue, 10 Nov 2015 08:11:58 +0000 (10 09:11 +0100)
treef5b28dd1bc4fde3e6f12bc2578477c8ad4b68045
parent809335c975c75c6f335d9fe67b4ffcce6d80d9b3
MinGW: work around gzip doing LF->CRLF conversion when it writes to a file

When output of MinGW's gzip goes to a file, it converts from LF to CRLF.
It does not covert when the output goes to a pipe. Therefore, work it
around by inserting a pipe. Fortunately, cat does not convert in a similar
way.
archive-tar.c