lua-users home
lua-l archive

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

David Manura wrote:

stdio probably should be replaced with
luai_writestring/luai_writestringerror here:

  lua.c:189:  printf("%s\n", LUA_COPYRIGHT);

The fgets in ldblib.c perhaps should be abstracted too.

Users interested in luai_writestring will still need to patch
liolib.c, maybe by adding an #include after the the #include <stdio.h>
to redefine stdio functions with macros.

David, your fine toothed comb is (in my opinion) very helpful
for us embedded Lua folks precisely because it reduces dependencies
bulky externals.

Thanks for being so diligent, and I hope the Lua team takes
you up on this one.