summaryrefslogtreecommitdiff
path: root/luxio
diff options
context:
space:
mode:
authorRob Kendrick (plinth) <rjek@rjek.com>2013-11-21 09:30:11 +0000
committerRob Kendrick (plinth) <rjek@rjek.com>2013-11-21 09:30:11 +0000
commitb69192f644585c301250af80a688bbf69b540f5e (patch)
treec7de9f85c771ba7976476a96f3f56160e188c9dc /luxio
parentc120bf8171281472c0bc60ea869a54d7ac104ee9 (diff)
downloadluxio-b69192f644585c301250af80a688bbf69b540f5e.tar.gz
Mode flags to open already are being parsed intellegently, remove comment
Diffstat (limited to 'luxio')
-rw-r--r--luxio/simple.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/luxio/simple.lua b/luxio/simple.lua
index ae258ed..924d49a 100644
--- a/luxio/simple.lua
+++ b/luxio/simple.lua
@@ -385,7 +385,7 @@ local function sio_open_flags(flags)
end
local function open(filename, flags, mode)
- mode = mode or tonumber("666", 8) -- TODO: parse mode intellengently.
+ mode = mode or tonumber("666", 8)
assert(type(filename) == "string", "filename string expected at #1")
assert(type(flags) == "string", "flags string expected at #2")
flags = sio_open_flags(flags)