diff options
-rwxr-xr-x | lualdap/src/lualdap.c | 7 | ||||
-rwxr-xr-x | lualdap/tests/test.lua | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/lualdap/src/lualdap.c b/lualdap/src/lualdap.c index 703fb1c..d4ee773 100755 --- a/lualdap/src/lualdap.c +++ b/lualdap/src/lualdap.c @@ -1,7 +1,7 @@ /* ** LuaLDAP ** See Copyright Notice in license.html -** $Id: lualdap.c,v 1.44 2006-04-04 20:11:51 carregal Exp $ +** $Id: lualdap.c,v 1.45 2006-07-24 01:36:51 tomas Exp $ */ #include <stdlib.h> @@ -16,8 +16,9 @@ #include "lua.h" #include "lauxlib.h" +#if ! defined (LUA_VERSION_NUM) || LUA_VERSION_NUM < 501 #include "compat-5.1.h" - +#endif #define LUALDAP_PREFIX "LuaLDAP: " #define LUALDAP_TABLENAME "lualdap" @@ -958,7 +959,7 @@ static void set_info (lua_State *L) { lua_pushliteral (L, "LuaLDAP is a simple interface from Lua to an LDAP client"); lua_settable (L, -3); lua_pushliteral (L, "_VERSION"); - lua_pushliteral (L, "LuaLDAP 1.0.1"); + lua_pushliteral (L, "LuaLDAP 1.0.2"); lua_settable (L, -3); } diff --git a/lualdap/tests/test.lua b/lualdap/tests/test.lua index 299ed8e..2dce95b 100755 --- a/lualdap/tests/test.lua +++ b/lualdap/tests/test.lua @@ -1,4 +1,4 @@ -#!/usr/local/bin/lua +#!/usr/local/bin/lua5.1 --------------------------------------------------------------------- -- LuaLDAP test file. -- This test will create a copy of an existing entry on the @@ -6,7 +6,7 @@ -- renamed and deleted at the end. -- -- See Copyright Notice in license.html --- $Id: test.lua,v 1.14 2005-06-08 17:22:46 tomas Exp $ +-- $Id: test.lua,v 1.15 2006-07-24 01:36:51 tomas Exp $ --------------------------------------------------------------------- -- |