Correcao nos atributos (eliminacao de atributos exclusivos do MacOS X).

This commit is contained in:
tomas
2004-10-27 18:04:50 +00:00
parent b4970612f7
commit 1c8215ae46

View File

@@ -9,7 +9,7 @@
** lfs.lock (fh, mode) ** lfs.lock (fh, mode)
** lfs.unlock (fh) ** 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> #include <errno.h>
@@ -432,14 +432,6 @@ static int file_info (lua_State *L) {
lua_pushliteral (L, "blksize"); lua_pushliteral (L, "blksize");
lua_pushnumber (L, (lua_Number)info.st_blksize); lua_pushnumber (L, (lua_Number)info.st_blksize);
lua_rawset (L, -3); 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; return 1;
} }