[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Martin Schröder <martin@...>
- Date: Sun, 10 Jan 2010 20:43:25 +0100
2010/1/10 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
>> 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()
>
> strlcpy and snprintf are not in ANSI C (C89).
Yes, but OpenSSH has portable versions.
Best
Martin