aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-07-07 14:03:34 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-07-07 14:03:34 -0300
commit5b6ac971f9223be8cbe44036fdd7c5e46389412d (patch)
tree0dbbfdcdb0a2b9ad2ad54df93e01640bd47e6216 /liolib.c
parent403e181d811620ca4054023a72cdff61566c8224 (diff)
downloadlua-5b6ac971f9223be8cbe44036fdd7c5e46389412d.tar.gz
lua-5b6ac971f9223be8cbe44036fdd7c5e46389412d.tar.bz2
lua-5b6ac971f9223be8cbe44036fdd7c5e46389412d.zip
detail (comment)
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index 3c6b62d3..f978a859 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 2.144 2015/04/03 18:41:57 roberto Exp roberto $ 2** $Id: liolib.c,v 2.145 2015/06/21 13:50:29 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -176,7 +176,7 @@ static FILE *tofile (lua_State *L) {
176/* 176/*
177** When creating file handles, always creates a 'closed' file handle 177** When creating file handles, always creates a 'closed' file handle
178** before opening the actual file; so, if there is a memory error, the 178** before opening the actual file; so, if there is a memory error, the
179** file is not left opened. 179** handle is in a consistent state.
180*/ 180*/
181static LStream *newprefile (lua_State *L) { 181static LStream *newprefile (lua_State *L) {
182 LStream *p = (LStream *)lua_newuserdata(L, sizeof(LStream)); 182 LStream *p = (LStream *)lua_newuserdata(L, sizeof(LStream));