diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-07 10:46:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-07 10:46:29 -0300 |
commit | 65c289b0465f717f907aa31ea7c68cf99e6420bf (patch) | |
tree | 28ec4901431b3a5319e9a5f39537694d9a7a671e /liolib.c | |
parent | d5b83ead90fba27faa344c72406d85987d2460a4 (diff) | |
download | lua-65c289b0465f717f907aa31ea7c68cf99e6420bf.tar.gz lua-65c289b0465f717f907aa31ea7c68cf99e6420bf.tar.bz2 lua-65c289b0465f717f907aa31ea7c68cf99e6420bf.zip |
details
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
59 | static int pushresult (lua_State *L, int i) { | 59 | static 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 { |