aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortomas <tomas>2007-06-22 12:44:46 +0000
committertomas <tomas>2007-06-22 12:44:46 +0000
commit97ccdc90ed810f809237669e0c3c91c1cf0ed208 (patch)
treef8de53799380688416bd87d3f287f67e91b34418 /src
parent57a64a5cfee378f331ae425945a8026bcc668a8b (diff)
downloadluafilesystem-97ccdc90ed810f809237669e0c3c91c1cf0ed208.tar.gz
luafilesystem-97ccdc90ed810f809237669e0c3c91c1cf0ed208.tar.bz2
luafilesystem-97ccdc90ed810f809237669e0c3c91c1cf0ed208.zip
Avoiding dependency in backwards compatibility to Lua 5.0
Diffstat (limited to 'src')
-rw-r--r--src/lfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lfs.c b/src/lfs.c
index e86840a..6158cf0 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -15,7 +15,7 @@
15** lfs.touch (filepath [, atime [, mtime]]) 15** lfs.touch (filepath [, atime [, mtime]])
16** lfs.unlock (fh) 16** lfs.unlock (fh)
17** 17**
18** $Id: lfs.c,v 1.38 2007/06/07 01:28:08 tomas Exp $ 18** $Id: lfs.c,v 1.39 2007/06/22 12:44:46 tomas Exp $
19*/ 19*/
20 20
21#include <errno.h> 21#include <errno.h>
@@ -599,7 +599,7 @@ static const struct luaL_reg fslib[] = {
599 599
600int luaopen_lfs (lua_State *L) { 600int luaopen_lfs (lua_State *L) {
601 dir_create_meta (L); 601 dir_create_meta (L);
602 luaL_openlib (L, "lfs", fslib, 0); 602 luaL_register (L, "lfs", fslib);
603 set_info (L); 603 set_info (L);
604 return 1; 604 return 1;
605} 605}