diff options
| author | tomas <tomas> | 2004-10-27 18:04:50 +0000 |
|---|---|---|
| committer | tomas <tomas> | 2004-10-27 18:04:50 +0000 |
| commit | 1c8215ae46883ffdfb500343a9f7d30a6a5eca92 (patch) | |
| tree | 933f0041418c51b85ed411611e4dcb76db123a30 /src | |
| parent | b4970612f7ff0ca79297db3c23e18ded6040d5a9 (diff) | |
| download | luafilesystem-1c8215ae46883ffdfb500343a9f7d30a6a5eca92.tar.gz luafilesystem-1c8215ae46883ffdfb500343a9f7d30a6a5eca92.tar.bz2 luafilesystem-1c8215ae46883ffdfb500343a9f7d30a6a5eca92.zip | |
Correcao nos atributos (eliminacao de atributos exclusivos do MacOS X).
Diffstat (limited to 'src')
| -rw-r--r-- | src/lfs.c | 10 |
1 files changed, 1 insertions, 9 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.5 2004/10/27 18:01:01 tomas Exp $ | 12 | ** $Id: lfs.c,v 1.6 2004/10/27 18:04:50 tomas Exp $ |
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | #include <errno.h> | 15 | #include <errno.h> |
| @@ -432,14 +432,6 @@ static int file_info (lua_State *L) { | |||
| 432 | lua_pushliteral (L, "blksize"); | 432 | lua_pushliteral (L, "blksize"); |
| 433 | lua_pushnumber (L, (lua_Number)info.st_blksize); | 433 | lua_pushnumber (L, (lua_Number)info.st_blksize); |
| 434 | lua_rawset (L, -3); | 434 | lua_rawset (L, -3); |
| 435 | /* user defined flags for file */ | ||
| 436 | lua_pushliteral (L, "flags"); | ||
| 437 | lua_pushnumber (L, (lua_Number)info.st_flags); | ||
| 438 | lua_rawset (L, -3); | ||
| 439 | /* file generation number */ | ||
| 440 | lua_pushliteral (L, "gen"); | ||
| 441 | lua_pushnumber (L, (lua_Number)info.st_gen); | ||
| 442 | lua_rawset (L, -3); | ||
| 443 | 435 | ||
| 444 | return 1; | 436 | return 1; |
| 445 | } | 437 | } |
