From 65c289b0465f717f907aa31ea7c68cf99e6420bf Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 7 Jun 2001 10:46:29 -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 dda79529..d38dfe1f 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 1.112 2001/04/23 16:35:45 roberto Exp roberto $ +** $Id: liolib.c,v 1.113 2001/06/06 18:00:19 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -58,7 +58,7 @@ static const l_char *const basicfiles[] = {l_s("_STDIN"), l_s("_STDOUT")}; static int pushresult (lua_State *L, int i) { if (i) { - lua_newuserdatabox(L, NULL); + lua_pushnumber(L, 1); return 1; } else { -- cgit v1.2.3-55-g6feb