summaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-20 08:26:33 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-20 08:26:33 -0200
commit32fd039bb563b24cbe4621dcc9b3cc18d9e078b0 (patch)
tree381804f8030b6d1d09b5cc35bd46511d7dc29739 /liolib.c
parent75f73172c463af9643bc187eed7f1fd195238078 (diff)
downloadlua-github-32fd039bb563b24cbe4621dcc9b3cc18d9e078b0.tar.gz
`openlib' functions return new module
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 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;
}