aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-21 10:17:58 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-21 10:17:58 -0200
commitdb5ac2fa0df1e0d6f7a4a1e5d6e0b5e4ac4456c0 (patch)
tree45d4cb1c44f76a7b182ed3e23220cc5c20ff2c22 /lauxlib.c
parent1735c05ac75797976e98720cd72be318b91b4aa3 (diff)
downloadlua-db5ac2fa0df1e0d6f7a4a1e5d6e0b5e4ac4456c0.tar.gz
lua-db5ac2fa0df1e0d6f7a4a1e5d6e0b5e4ac4456c0.tar.bz2
lua-db5ac2fa0df1e0d6f7a4a1e5d6e0b5e4ac4456c0.zip
detail (buffer in 'LoadF' is related to files)
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lauxlib.c b/lauxlib.c
index a593fc19..467b1e30 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.273 2014/11/02 19:19:04 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.274 2014/11/12 13:32:27 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -566,7 +566,7 @@ LUALIB_API void luaL_unref (lua_State *L, int t, int ref) {
566typedef struct LoadF { 566typedef struct LoadF {
567 int n; /* number of pre-read characters */ 567 int n; /* number of pre-read characters */
568 FILE *f; /* file being read */ 568 FILE *f; /* file being read */
569 char buff[LUAL_BUFFERSIZE]; /* area for reading file */ 569 char buff[BUFSIZ]; /* area for reading file */
570} LoadF; 570} LoadF;
571 571
572 572