diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-07-07 14:03:34 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-07-07 14:03:34 -0300 |
| commit | 5b6ac971f9223be8cbe44036fdd7c5e46389412d (patch) | |
| tree | 0dbbfdcdb0a2b9ad2ad54df93e01640bd47e6216 | |
| parent | 403e181d811620ca4054023a72cdff61566c8224 (diff) | |
| download | lua-5b6ac971f9223be8cbe44036fdd7c5e46389412d.tar.gz lua-5b6ac971f9223be8cbe44036fdd7c5e46389412d.tar.bz2 lua-5b6ac971f9223be8cbe44036fdd7c5e46389412d.zip | |
detail (comment)
Diffstat (limited to '')
| -rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | */ |
| 181 | static LStream *newprefile (lua_State *L) { | 181 | static LStream *newprefile (lua_State *L) { |
| 182 | LStream *p = (LStream *)lua_newuserdata(L, sizeof(LStream)); | 182 | LStream *p = (LStream *)lua_newuserdata(L, sizeof(LStream)); |
