lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Hey, Lua maintainers: this could be a fix for it:
>
> liolib.c:
> int
> luaIO_filecreate(lua_State *L, FILE *f)
> {
>     FILE **pf = newfile(L);
>     *pf = f;
>     return 1;
> }

That's a good idea, and its lack a bit puzzling in retrospect: "what, no
simple constructor?".

Would that stop you needing to use the shell?

-- 
http://www.mupsych.org/~rrt/ | traddutore, v.t.  traditore (Anon)