Alexander Nasonov wrote:
+#define exit(EXIT_FAILURE) return
You only need to make a change in one place in ldo.c:
@@ -105,7 +110,11 @@ void luaD_throw (lua_State *L, int errco
lua_unlock(L);
G(L)-panic(L);
}
+#if defined(_KERNEL)
+panic(luaD_throw(), errcode=%d,
On Tue, Oct 22, 2013 at 09:25:19AM +0100, Alexander Nasonov wrote:
We just need to make sure that all entry points to Lua are protected and
hope that the above panic will never trigger.
Actually, I would prefer if that call to panic wasn't there at all.
Instead the script/state should be
Christoph Badura wrote:
On Tue, Oct 22, 2013 at 09:25:19AM +0100, Alexander Nasonov wrote:
We just need to make sure that all entry points to Lua are protected and
hope that the above panic will never trigger.
Actually, I would prefer if that call to panic wasn't there at all.
Instead the
Am 22.10.13 14:24, schrieb Christoph Badura:
On Tue, Oct 22, 2013 at 09:25:19AM +0100, Alexander Nasonov wrote:
We just need to make sure that all entry points to Lua are protected and
hope that the above panic will never trigger.
Actually, I would prefer if that call to panic wasn't there