diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-04-01 07:32:53 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-04-01 07:32:53 +0000 |
commit | d92132e87a48368db849f8ba8f30ff8ce5de6156 (patch) | |
tree | e88deb991cbe2592b6ba5a1519519384c64ff85c /test/testsupport.lua | |
parent | e5a090b01cd5b490f7331235b7c58c36c05bb7b6 (diff) | |
download | luasocket-d92132e87a48368db849f8ba8f30ff8ce5de6156.tar.gz luasocket-d92132e87a48368db849f8ba8f30ff8ce5de6156.tar.bz2 luasocket-d92132e87a48368db849f8ba8f30ff8ce5de6156.zip |
complicated bug in ltn12.filter.chain...
Diffstat (limited to '')
-rw-r--r-- | test/testsupport.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsupport.lua b/test/testsupport.lua index ca3cd95..acad8f5 100644 --- a/test/testsupport.lua +++ b/test/testsupport.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | function readfile(name) | 1 | function readfile(name) |
2 | local f = io.open(name, "r") | 2 | local f = io.open(name, "rb") |
3 | if not f then return nil end | 3 | if not f then return nil end |
4 | local s = f:read("*a") | 4 | local s = f:read("*a") |
5 | f:close() | 5 | f:close() |