diff options
| author | mascarenhas <mascarenhas> | 2008-01-16 22:33:24 +0000 |
|---|---|---|
| committer | mascarenhas <mascarenhas> | 2008-01-16 22:33:24 +0000 |
| commit | ed97af80fb6ec7aad7c06177d20b72f9ef19052a (patch) | |
| tree | 6a329fe688530d0396e5207507d6a0588e402bc0 /src | |
| parent | 895e9daf27c7e8dcfd5c4d7f5cf1b8edf20b6e11 (diff) | |
| download | luafilesystem-ed97af80fb6ec7aad7c06177d20b72f9ef19052a.tar.gz luafilesystem-ed97af80fb6ec7aad7c06177d20b72f9ef19052a.tar.bz2 luafilesystem-ed97af80fb6ec7aad7c06177d20b72f9ef19052a.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/lfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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.44 2008/01/16 22:29:26 mascarenhas Exp $ | 18 | ** $Id: lfs.c,v 1.45 2008/01/16 22:33:24 mascarenhas Exp $ |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include <errno.h> | 21 | #include <errno.h> |
| @@ -102,7 +102,7 @@ static int change_dir (lua_State *L) { | |||
| 102 | static int get_dir (lua_State *L) { | 102 | static int get_dir (lua_State *L) { |
| 103 | char *path; | 103 | char *path; |
| 104 | if ((path = getcwd(NULL, 0)) == NULL) { | 104 | if ((path = getcwd(NULL, 0)) == NULL) { |
| 105 | lua_pushnil(L) | 105 | lua_pushnil(L); |
| 106 | lua_pushstring(L, getcwd_error); | 106 | lua_pushstring(L, getcwd_error); |
| 107 | return 2; | 107 | return 2; |
| 108 | } | 108 | } |
