# HG changeset patch # User Matthew Wild # Date 1286670699 -3600 # Node ID 00d72b0f2e7cd192b21be7b47a00ec9f6d8658c6 # Parent e27ab4492cdd3de909c7419b81dcbbd3a8de95c8 squish.uglify.lua: Open output file in binary mode diff -r e27ab4492cdd -r 00d72b0f2e7c uglify/squish.uglify.lua --- a/uglify/squish.uglify.lua Fri Aug 06 20:17:46 2010 +0100 +++ b/uglify/squish.uglify.lua Sun Oct 10 01:31:39 2010 +0100 @@ -13,7 +13,7 @@ return; end - local outfile, err = io.open(outfile_fn..".uglified", "w+"); + local outfile, err = io.open(outfile_fn..".uglified", "wb+"); if not outfile then print_err("Can't open output file for writing: "..tostring(err)); return;