lua-users home
lua-l archive

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luiz Henrique de Figueiredo wrote:
>> Doe anyone know where the most recent version of Lua's posix library is?
> 
> The most recent version is still the one for Lua 5.0.
> That version can be built under Lua 5.1 with a simple change:

Incidentally, I had to fix a couple of bugs for the version that ships with
Prime Mover:

- - it should be using CLOCKS_PER_SEC, not CLK_TCK (which is unportable);
- - posix.stat() should call stat(), not lstat() (which produces the wrong
result on a symlink).

http://primemover.svn.sourceforge.net/viewvc/primemover/pm/lua/lposix.c?view=log

They're both pretty trivial.

- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───────────────────
│ "This is the captain. We have a little problem with our reentry sequence,
│ so we may experience some slight turbulence and then explode." --- Mal
│ Reynolds, _Serenity_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQG+Pf9E0noFvlzgRAi/GAJ9vnqsZuwqSAtozq91BIrFbH8/EwwCbBDsU
JCeQCi7mtf4SEk/42pIRw5E=
=hY+Q
-----END PGP SIGNATURE-----