From 5e55437028cc03d79c5a3cddce0cf8aecd0de2be Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Wed, 3 Oct 2012 02:58:57 +0200 Subject: Bump version to 1.6.2 and set version via define in src/lfs.c to make it better visible --- src/lfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lfs.c b/src/lfs.c index 8aa7412..5a6ca7c 100644 --- a/src/lfs.c +++ b/src/lfs.c @@ -62,6 +62,8 @@ #include "lfs.h" +#define LFS_VERSION "1.6.2" + #if LUA_VERSION_NUM < 502 # define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l)) #endif @@ -850,7 +852,7 @@ static void set_info (lua_State *L) { lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution"); lua_settable (L, -3); lua_pushliteral (L, "_VERSION"); - lua_pushliteral (L, "LuaFileSystem 1.6.0"); + lua_pushliteral (L, "LuaFileSystem "LFS_VERSION); lua_settable (L, -3); } -- cgit v1.2.3-55-g6feb