lua-users home
lua-l archive

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


Yes, thats because lua exports tmpname(). It does not make use of it
though. It's no more dangerous than libc containing the same function,
although its use can be dangerous if any of your lua scripts use it.



On Fri, 22 Dec 2000, Max Ischenko wrote:

> 
> > 
> > 	Hi there, Luiz Henrique de Figueiredo!
> > 	On Thursday, 21 of December you wrote:
> > 
> > > >Has anyone positive experience of using Lua under FreeBSD?
> > > 
> > > We don't have access to a FreeBSD machine, but Lua has been in the FreeBSD
> > > list for a while now, so I assume that would be not problems running Lua in
> > > FreeBSD. See http://www.freebsd.org/ports/lang.html
> > 
> > Problem has been solved.
> > Mysterious crashes were caused by another library. ;-)
> 
> BTW, FreeBSD linker gives this warning:
> 
> ../../foobar/libLualib.a(liolib.o): In function `io_tmpname':
> liolib.o(.text+0xd5f): warning: tmpnam() possibly used unsafely; consider
> using mkstemp()
> 
> 
> I think this can be interesting for Lua developers...
> 
> -- 
> Best regards, Maxim F. Ischenko.
>