diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-23 14:50:58 -0700 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-07-23 14:50:58 -0700 |
commit | d287bf5f8bc24ad366a3ff8e07dcb93d0f48bd03 (patch) | |
tree | ede13cd011ffb59c4bd165a55a703f5ddf41a153 /lualibs-io.lua | |
parent | 32b7ab871a07f20c73187a577dedb737cc8b18fd (diff) | |
parent | f2f3234465dd965a9915b97bc8b3ac77bd40c464 (diff) | |
download | lualibs-d287bf5f8bc24ad366a3ff8e07dcb93d0f48bd03.tar.gz |
Merge pull request #15 from phi-gamma/master
update to 2.0c
Diffstat (limited to 'lualibs-io.lua')
-rw-r--r-- | lualibs-io.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lualibs-io.lua b/lualibs-io.lua index 06e1fb5..e3a443b 100644 --- a/lualibs-io.lua +++ b/lualibs-io.lua @@ -35,6 +35,7 @@ local function readall(f) return f:read('*all') else local done = f:seek("set",0) + local step if size < 1024*1024 then step = 1024 * 1024 elseif size > 16*1024*1024 then |