Skip to content
Snippets Groups Projects
Commit 64f5327e authored by Luigi Scarso's avatar Luigi Scarso
Browse files

other zippers also 5.3 (HH) -- trunk

parent 55827a01
Branches
Tags
No related merge requests found
#define luatex_svn_revision 7108 #define luatex_svn_revision 7110
...@@ -59,7 +59,7 @@ static int pushresult (lua_State *L, int i, const char *filename) { ...@@ -59,7 +59,7 @@ static int pushresult (lua_State *L, int i, const char *filename) {
lua_pushfstring(L, "%s: %s", filename, strerror(errno)); lua_pushfstring(L, "%s: %s", filename, strerror(errno));
else else
lua_pushfstring(L, "%s", strerror(errno)); lua_pushfstring(L, "%s", strerror(errno));
lua_pushnumber(L, errno); lua_pushinteger(L, errno);
return 3; return 3;
} }
} }
...@@ -318,7 +318,7 @@ static int f_seek (lua_State *L) { ...@@ -318,7 +318,7 @@ static int f_seek (lua_State *L) {
if (op == -1) if (op == -1)
return pushresult(L, 0, NULL); /* error */ return pushresult(L, 0, NULL); /* error */
else { else {
lua_pushnumber(L, op); lua_pushinteger(L, op);
return 1; return 1;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment