complicated bug in ltn12.filter.chain...

This commit is contained in:
Diego Nehab 2004-04-01 07:32:53 +00:00
parent e5a090b01c
commit d92132e87a
3 changed files with 65 additions and 9 deletions

View file

@ -1,5 +1,5 @@
function readfile(name)
local f = io.open(name, "r")
local f = io.open(name, "rb")
if not f then return nil end
local s = f:read("*a")
f:close()