aboutsummaryrefslogtreecommitdiff
path: root/src/lfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lfs.c')
-rw-r--r--src/lfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lfs.c b/src/lfs.c
index c0cccbc..a510408 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -16,7 +16,7 @@
16** lfs.touch (filepath [, atime [, mtime]]) 16** lfs.touch (filepath [, atime [, mtime]])
17** lfs.unlock (fh) 17** lfs.unlock (fh)
18** 18**
19** $Id: lfs.c,v 1.48 2008/02/18 03:13:50 mascarenhas Exp $ 19** $Id: lfs.c,v 1.49 2008/02/19 20:08:23 mascarenhas Exp $
20*/ 20*/
21 21
22#include <errno.h> 22#include <errno.h>
@@ -530,7 +530,9 @@ static void push_st_blksize (lua_State *L, struct stat *info) {
530#endif 530#endif
531static void push_invalid (lua_State *L, struct stat *info) { 531static void push_invalid (lua_State *L, struct stat *info) {
532 luaL_error(L, "invalid attribute name"); 532 luaL_error(L, "invalid attribute name");
533#ifndef _WIN32
533 info->st_blksize = 0; /* never reached */ 534 info->st_blksize = 0; /* never reached */
535#endif
534} 536}
535 537
536typedef void (*_push_function) (lua_State *L, struct stat *info); 538typedef void (*_push_function) (lua_State *L, struct stat *info);