lua-users home
lua-l archive

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


On Tue, Nov 23, 2010 at 1:13 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> Lua 5.2.0 (alpha-rc4) is now available.....

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.