aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
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));