diff options
author | tomas <tomas> | 2004-11-05 10:37:29 +0000 |
---|---|---|
committer | tomas <tomas> | 2004-11-05 10:37:29 +0000 |
commit | 2bc7cbf743631ab8317576b58e98159d3ca08dcc (patch) | |
tree | ecc74bce9192691da1a53e73bb48eea7c434681d /src/lfs.c | |
parent | 963ec467311dd5dee2d698b8731499e034a7faff (diff) | |
download | luafilesystem-2bc7cbf743631ab8317576b58e98159d3ca08dcc.tar.gz luafilesystem-2bc7cbf743631ab8317576b58e98159d3ca08dcc.tar.bz2 luafilesystem-2bc7cbf743631ab8317576b58e98159d3ca08dcc.zip |
Melhorias na documentacao.
Diffstat (limited to 'src/lfs.c')
-rw-r--r-- | src/lfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ | |||
9 | ** lfs.lock (fh, mode) | 9 | ** lfs.lock (fh, mode) |
10 | ** lfs.unlock (fh) | 10 | ** lfs.unlock (fh) |
11 | ** | 11 | ** |
12 | ** $Id: lfs.c,v 1.10 2004/11/04 22:21:28 tuler Exp $ | 12 | ** $Id: lfs.c,v 1.11 2004/11/05 10:37:29 tomas Exp $ |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <errno.h> | 15 | #include <errno.h> |
@@ -403,7 +403,7 @@ static int file_info (lua_State *L) { | |||
403 | lua_pushliteral (L, "mode"); | 403 | lua_pushliteral (L, "mode"); |
404 | lua_pushstring (L, mode2string (info.st_mode)); | 404 | lua_pushstring (L, mode2string (info.st_mode)); |
405 | lua_rawset (L, -3); | 405 | lua_rawset (L, -3); |
406 | /* number or hard links to the file */ | 406 | /* number of hard links to the file */ |
407 | lua_pushliteral (L, "nlink"); | 407 | lua_pushliteral (L, "nlink"); |
408 | lua_pushnumber (L, (lua_Number)info.st_nlink); | 408 | lua_pushnumber (L, (lua_Number)info.st_nlink); |
409 | lua_rawset (L, -3); | 409 | lua_rawset (L, -3); |