aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarregal <carregal>2006-03-10 22:38:11 +0000
committercarregal <carregal>2006-03-10 22:38:11 +0000
commit55be9b2227297433a055aed54e9def50ae8f99a3 (patch)
treec9f9afd5f29e93afd3c5bf121723712a3f823d34
parentb4da6c67bb809c1e4e387bd9a3559490f30d5ea1 (diff)
downloadluafilesystem-55be9b2227297433a055aed54e9def50ae8f99a3.tar.gz
luafilesystem-55be9b2227297433a055aed54e9def50ae8f99a3.tar.bz2
luafilesystem-55be9b2227297433a055aed54e9def50ae8f99a3.zip
Comments update - minor details
-rw-r--r--src/lfs.c7
-rw-r--r--src/lfs.h8
2 files changed, 12 insertions, 3 deletions
diff --git a/src/lfs.c b/src/lfs.c
index 9adf0c9..877fb1e 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -1,4 +1,7 @@
1/* 1/*
2** LuaFileSystem
3** Copyright Kepler Project 2003-2006 (http://www.keplerproject.org/luafilesystem)
4**
2** File system manipulation library. 5** File system manipulation library.
3** This library offers these functions: 6** This library offers these functions:
4** lfs.attributes (filepath [, attributename]) 7** lfs.attributes (filepath [, attributename])
@@ -11,7 +14,7 @@
11** lfs.touch (filepath [, atime [, mtime]]) 14** lfs.touch (filepath [, atime [, mtime]])
12** lfs.unlock (fh) 15** lfs.unlock (fh)
13** 16**
14** $Id: lfs.c,v 1.28 2006/03/07 19:07:57 tuler Exp $ 17** $Id: lfs.c,v 1.29 2006/03/10 22:38:11 carregal Exp $
15*/ 18*/
16 19
17#include <errno.h> 20#include <errno.h>
@@ -578,7 +581,7 @@ static int file_info (lua_State *L) {
578*/ 581*/
579static void set_info (lua_State *L) { 582static void set_info (lua_State *L) {
580 lua_pushliteral (L, "_COPYRIGHT"); 583 lua_pushliteral (L, "_COPYRIGHT");
581 lua_pushliteral (L, "Copyright (C) 2003-2005 Kepler Project"); 584 lua_pushliteral (L, "Copyright (C) 2003-2006 Kepler Project");
582 lua_settable (L, -3); 585 lua_settable (L, -3);
583 lua_pushliteral (L, "_DESCRIPTION"); 586 lua_pushliteral (L, "_DESCRIPTION");
584 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"); 587 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");
diff --git a/src/lfs.h b/src/lfs.h
index 67871f2..8ab47a2 100644
--- a/src/lfs.h
+++ b/src/lfs.h
@@ -1,5 +1,11 @@
1/*
2** LuaFileSystem
3** Copyright Kepler Project 2003-2006 (http://www.keplerproject.org/luafilesystem)
4**
5** $Id: lfs.h,v 1.2 2006/03/10 22:38:11 carregal Exp $
6*/
7
1/* Define 'chdir' for systems that do not implement it */ 8/* Define 'chdir' for systems that do not implement it */
2/* $Id: lfs.h,v 1.1 2004/07/29 14:26:33 tomas Exp $ */
3#ifdef NO_CHDIR 9#ifdef NO_CHDIR
4#define chdir(p) (-1) 10#define chdir(p) (-1)
5#define chdir_error "Function 'chdir' not provided by system" 11#define chdir_error "Function 'chdir' not provided by system"