mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-23 19:43:06 +00:00
Correcao nos atributos (eliminacao de atributos exclusivos do MacOS X).
This commit is contained in:
10
src/lfs.c
10
src/lfs.c
@@ -9,7 +9,7 @@
|
||||
** lfs.lock (fh, mode)
|
||||
** lfs.unlock (fh)
|
||||
**
|
||||
** $Id: lfs.c,v 1.5 2004/10/27 18:01:01 tomas Exp $
|
||||
** $Id: lfs.c,v 1.6 2004/10/27 18:04:50 tomas Exp $
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
@@ -432,14 +432,6 @@ static int file_info (lua_State *L) {
|
||||
lua_pushliteral (L, "blksize");
|
||||
lua_pushnumber (L, (lua_Number)info.st_blksize);
|
||||
lua_rawset (L, -3);
|
||||
/* user defined flags for file */
|
||||
lua_pushliteral (L, "flags");
|
||||
lua_pushnumber (L, (lua_Number)info.st_flags);
|
||||
lua_rawset (L, -3);
|
||||
/* file generation number */
|
||||
lua_pushliteral (L, "gen");
|
||||
lua_pushnumber (L, (lua_Number)info.st_gen);
|
||||
lua_rawset (L, -3);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user