git://project.juiblex.co.uk
/
razor2.git/.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
28ef49f
)
MinGW runtime 3.15.2 doesn't define ESTALE or ETIMEDOUT
author
J. Ali Harlow
<ali@juiblex.co.uk>
Wed, 24 Aug 2011 14:45:44 +0000 (15:45 +0100)
committer
J. Ali Harlow
<ali@juiblex.co.uk>
Wed, 24 Aug 2011 14:45:44 +0000 (15:45 +0100)
librazor/lua.c
patch
|
blob
|
history
diff --git
a/librazor/lua.c
b/librazor/lua.c
index
f32e1f5
..
f5299f1
100644
(file)
--- a/
librazor/lua.c
+++ b/
librazor/lua.c
@@
-172,10
+172,14
@@
static int proxy_execp(lua_State *L)
got_eacces = 1;
/* Fall through */
case ENOENT:
+#ifdef ESTALE
case ESTALE:
+#endif
case ENOTDIR:
case ENODEV:
+#ifdef ETIMEDOUT
case ETIMEDOUT:
+#endif
lua_pop(L, lua_gettop(L) - n);
break;
default: