From ee41bc03ab0af1b1d0c4a90e172b05cda3dac38f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 22 Jun 2006 13:12:59 -0300 Subject: details --- liolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 7c2d3147..e5d644c6 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 2.72 2006/01/28 12:59:13 roberto Exp roberto $ +** $Id: liolib.c,v 2.73 2006/05/08 20:14:16 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -139,7 +139,7 @@ static int io_gc (lua_State *L) { static int io_tostring (lua_State *L) { FILE *f = *topfile(L); if (f == NULL) - lua_pushstring(L, "file (closed)"); + lua_pushliteral(L, "file (closed)"); else lua_pushfstring(L, "file (%p)", f); return 1; -- cgit v1.2.3-55-g6feb