lua-users home
lua-l archive

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


>However write to stdout does not.  Any ideas on an easy way to intercept
>that?

I think in this case it is easiest to change liolib.c or at least remove
"static" from registerfile and then call registerfile with the correct
files as in luaopen_io, assuming that you want to save output to a file.
--lhf