aboutsummaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-07 10:46:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-07 10:46:29 -0300
commit65c289b0465f717f907aa31ea7c68cf99e6420bf (patch)
tree28ec4901431b3a5319e9a5f39537694d9a7a671e /liolib.c
parentd5b83ead90fba27faa344c72406d85987d2460a4 (diff)
downloadlua-65c289b0465f717f907aa31ea7c68cf99e6420bf.tar.gz
lua-65c289b0465f717f907aa31ea7c68cf99e6420bf.tar.bz2
lua-65c289b0465f717f907aa31ea7c68cf99e6420bf.zip
details
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 dda79529..d38dfe1f 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 1.112 2001/04/23 16:35:45 roberto Exp roberto $ 2** $Id: liolib.c,v 1.113 2001/06/06 18:00:19 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*/
@@ -58,7 +58,7 @@ static const l_char *const basicfiles[] = {l_s("_STDIN"), l_s("_STDOUT")};
58 58
59static int pushresult (lua_State *L, int i) { 59static int pushresult (lua_State *L, int i) {
60 if (i) { 60 if (i) {
61 lua_newuserdatabox(L, NULL); 61 lua_pushnumber(L, 1);
62 return 1; 62 return 1;
63 } 63 }
64 else { 64 else {