[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] luaposix-5.1.2 released (lposix fork)
- From: Natanael Copa <natanael.copa@...>
- Date: Tue, 29 Jan 2008 15:48:11 +0100
Hi,
I'm glad to annouce luaposix-5.1.2.
Please note that this release breakes the API for dup() and exec()
dup() now takes and returns lua files rather than file descriptors
(int).
exec() uses now execv(3) rather than execvp(3). This means that the
PATH environment variable is no longer used which means that all scripts
currently using exec() without an absolute path will break. If you need
the PATH variable, use the new execp() function.
Added openlog(), syslog() and closelog() functions.
The openlog(ident, [option], [facility]) function differs from the
recently released luasyslog by giving the user possibility to set
"option". The "option" parameter is a string containing one or more of
the chars:
'c' - LOG_CONS
'n' - LOG_NDELAY
'e' - LOG_PERROR
'p' - LOG_PID
It is possible to disable those funcs compile time by setting the
ENABLE_SYSLOG define to 0.
fileno() function was added.
Download from http://luaforge.net/frs/?group_id=344&release_id=932
Anyone volunteer to make a luarock?
Thanks!
-nc