gzip/squish.gzip.lua

changeset 73
9827b66cd3b2
parent 65
41aeda62af16
child 74
4a76d75a1456
--- a/gzip/squish.gzip.lua	Sun Oct 10 01:31:39 2010 +0100
+++ b/gzip/squish.gzip.lua	Sun Oct 10 01:32:11 2010 +0100
@@ -5,7 +5,7 @@
 		return;
 	end
 	
-	local outfile, err = io.open(outfile_fn..".gzipped", "w+");
+	local outfile, err = io.open(outfile_fn..".gzipped", "wb+");
 	if not outfile then
 		print_err("Can't open output file for writing: "..tostring(err));
 		return;

mercurial