diff options
Diffstat (limited to '')
-rw-r--r-- | src/lfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -66,7 +66,6 @@ | |||
66 | #include "lfs.h" | 66 | #include "lfs.h" |
67 | 67 | ||
68 | #define LFS_VERSION "1.6.3" | 68 | #define LFS_VERSION "1.6.3" |
69 | #define LFS_LIBNAME "lfs" | ||
70 | 69 | ||
71 | #if LUA_VERSION_NUM >= 503 /* Lua 5.3 */ | 70 | #if LUA_VERSION_NUM >= 503 /* Lua 5.3 */ |
72 | 71 | ||
@@ -873,8 +872,6 @@ int luaopen_lfs (lua_State *L) { | |||
873 | dir_create_meta (L); | 872 | dir_create_meta (L); |
874 | lock_create_meta (L); | 873 | lock_create_meta (L); |
875 | luaL_newlib (L, fslib); | 874 | luaL_newlib (L, fslib); |
876 | lua_pushvalue(L, -1); | ||
877 | lua_setglobal(L, LFS_LIBNAME); | ||
878 | set_info (L); | 875 | set_info (L); |
879 | return 1; | 876 | return 1; |
880 | } | 877 | } |