[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: bug in LuaJIT io.lines()
- From: Tony Finch <dot@...>
- Date: Wed, 10 Mar 2010 18:23:30 +0000
$ luajit -e 'local f = io.lines("files.lua"); while f() do end'
luajit: (command line):1: bad argument #1 to 'f' (FILE* expected, got no value)
stack traceback:
[C]: in function 'f'
(command line):1: in main chunk
[C]: ?
$ lua -e 'local f = io.lines("files.lua"); while f() do end'
$ echo $?
0
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.