Skip to content

Commit

Permalink
gunzip.pl: use binary output mode
Browse files Browse the repository at this point in the history
Fixes an issue with LF being turned into CRLF on Windows
  • Loading branch information
lethosor committed Apr 30, 2017
1 parent 932a49e commit 03f56f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depends/gunzip.pl
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
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";

0 comments on commit 03f56f7

Please sign in to comment.