|
|
||
|
The call «read("*w")» (to read a word) should return nil at end of file.
Instead, it is returning the empty string. You can correct this with a
one-line patch:
liolib.c: 327c327
< return (lua_strlen(L, 1) > 0);
---
> return (lua_strlen(L, -1) > 0);
-- Roberto