*** empty log message ***

This commit is contained in:
mascarenhas
2008-01-16 22:33:24 +00:00
parent 895e9daf27
commit ed97af80fb
2 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
package = "LuaFileSystem" package = "LuaFileSystem"
version = "cvs-1" version = "cvs-1"
source = { source = {
url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem" url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem",
cvs_tag = "HEAD"
} }
description = { description = {
summary = "File System Library for the Lua Programming Language", summary = "File System Library for the Lua Programming Language",
@@ -18,6 +19,6 @@ dependencies = {
build = { build = {
type = "module", type = "module",
modules = { modules = {
lfs = "lfs.c" lfs = "src/lfs.c"
} }
} }

View File

@@ -15,7 +15,7 @@
** lfs.touch (filepath [, atime [, mtime]]) ** lfs.touch (filepath [, atime [, mtime]])
** lfs.unlock (fh) ** 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 <errno.h> #include <errno.h>
@@ -102,7 +102,7 @@ static int change_dir (lua_State *L) {
static int get_dir (lua_State *L) { static int get_dir (lua_State *L) {
char *path; char *path;
if ((path = getcwd(NULL, 0)) == NULL) { if ((path = getcwd(NULL, 0)) == NULL) {
lua_pushnil(L) lua_pushnil(L);
lua_pushstring(L, getcwd_error); lua_pushstring(L, getcwd_error);
return 2; return 2;
} }