lua-users home
lua-l archive

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


> 2010/1/8 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> > All feedback welcome. Thanks.
> 
> The bsd target works on OpenBSD 4.3/i386, but the compiler complains:
> liblua.a(loslib.o)(.text+0x136): In function `os_tmpname':
> : warning: strcpy() is almost always misused, please use strlcpy()
> liblua.a(lobject.o)(.text+0x40f): In function `luaO_pushvfstring':
> : warning: sprintf() is often misused, please use snprintf()

And how do we tell the compiler that we are not "misusing" them?

-- Roberto