From 32fd039bb563b24cbe4621dcc9b3cc18d9e078b0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 20 Dec 2002 08:26:33 -0200 Subject: `openlib' functions return new module --- liolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 2d901f93..f61e1823 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 2.27 2002/12/04 15:27:17 roberto Exp roberto $ +** $Id: liolib.c,v 2.28 2002/12/04 17:38:31 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -732,6 +732,6 @@ LUALIB_API int lua_iolibopen (lua_State *L) { registerfile(L, stdin, "stdin", IO_INPUT); registerfile(L, stdout, "stdout", IO_OUTPUT); registerfile(L, stderr, "stderr", NULL); - return 0; + return 1; } -- cgit v1.2.1