lua-users home
lua-l archive

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


> 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:

67,68c67
< 		int j=luaL_findstring(luaL_checkstring(L, i), S);
< 		if (j==-1) luaL_argerror(L, i, "unknown selector");
---
> 		int j=luaL_checkoption(L, i, NULL, S);

About the future of lposix, see
	http://lua-users.org/lists/lua-l/2006-10/msg00499.html

Unfortunately, we haven't had much time to work on that proposal, but it
remains in our plans.
--lhf