From ed97af80fb6ec7aad7c06177d20b72f9ef19052a Mon Sep 17 00:00:00 2001 From: mascarenhas Date: Wed, 16 Jan 2008 22:33:24 +0000 Subject: *** empty log message *** --- rockspecs/luafilesystem-cvs-1.rockspec | 5 +++-- src/lfs.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/rockspecs/luafilesystem-cvs-1.rockspec b/rockspecs/luafilesystem-cvs-1.rockspec index 686c6f9..253f4f1 100644 --- a/rockspecs/luafilesystem-cvs-1.rockspec +++ b/rockspecs/luafilesystem-cvs-1.rockspec @@ -1,7 +1,8 @@ package = "LuaFileSystem" version = "cvs-1" source = { - url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem" + url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem", + cvs_tag = "HEAD" } description = { summary = "File System Library for the Lua Programming Language", @@ -18,6 +19,6 @@ dependencies = { build = { type = "module", modules = { - lfs = "lfs.c" + lfs = "src/lfs.c" } } diff --git a/src/lfs.c b/src/lfs.c index 1fa0a5e..6979820 100644 --- a/src/lfs.c +++ b/src/lfs.c @@ -15,7 +15,7 @@ ** lfs.touch (filepath [, atime [, mtime]]) ** lfs.unlock (fh) ** -** $Id: lfs.c,v 1.44 2008/01/16 22:29:26 mascarenhas Exp $ +** $Id: lfs.c,v 1.45 2008/01/16 22:33:24 mascarenhas Exp $ */ #include @@ -102,7 +102,7 @@ static int change_dir (lua_State *L) { static int get_dir (lua_State *L) { char *path; if ((path = getcwd(NULL, 0)) == NULL) { - lua_pushnil(L) + lua_pushnil(L); lua_pushstring(L, getcwd_error); return 2; } -- cgit v1.2.3-55-g6feb