diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-02 15:50:18 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-02 15:50:18 -0300 |
commit | 8f3df1d471d4b7e643492f0e65fac2bdc960398a (patch) | |
tree | f24a2b9f1738289c52d799837671e1c4e13039f1 /iolib.c | |
parent | 1a172117070d793d73cdcad5b3efd75ef7dbc728 (diff) | |
download | lua-8f3df1d471d4b7e643492f0e65fac2bdc960398a.tar.gz lua-8f3df1d471d4b7e643492f0e65fac2bdc960398a.tar.bz2 lua-8f3df1d471d4b7e643492f0e65fac2bdc960398a.zip |
small details.
Diffstat (limited to 'iolib.c')
-rw-r--r-- | iolib.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -29,11 +29,7 @@ static void pushresult (int i) | |||
29 | lua_pushuserdata(NULL); | 29 | lua_pushuserdata(NULL); |
30 | else { | 30 | else { |
31 | lua_pushnil(); | 31 | lua_pushnil(); |
32 | #ifndef OLD_ANSI | ||
33 | lua_pushstring(strerror(errno)); | 32 | lua_pushstring(strerror(errno)); |
34 | #else | ||
35 | lua_pushstring("O.S. unable to define the error"); | ||
36 | #endif | ||
37 | } | 33 | } |
38 | } | 34 | } |
39 | 35 | ||