From 03f56f73154955b363cfb7affe50102517a40e8e Mon Sep 17 00:00:00 2001 From: lethosor Date: Sun, 30 Apr 2017 17:06:57 -0400 Subject: [PATCH] gunzip.pl: use binary output mode Fixes an issue with LF being turned into CRLF on Windows --- depends/gunzip.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depends/gunzip.pl b/depends/gunzip.pl index 4a21daafd..caabad5a8 100755 --- a/depends/gunzip.pl +++ b/depends/gunzip.pl @@ -18,4 +18,4 @@ if (-f $out_file and !exists($args{'--force'})) { die "output file exists, not overwriting: \"$out_file\""; } -gunzip $in_file => $out_file or die "gunzip failed: $GunzipError\n"; +gunzip $in_file => $out_file, BinModeOut => 1 or die "gunzip failed: $GunzipError\n";