summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/lua/lua-5.1.3-official-patch3.diff
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/community/lua/lua-5.1.3-official-patch3.diff')
-rw-r--r--abs/extra/community/lua/lua-5.1.3-official-patch3.diff21
1 files changed, 0 insertions, 21 deletions
diff --git a/abs/extra/community/lua/lua-5.1.3-official-patch3.diff b/abs/extra/community/lua/lua-5.1.3-official-patch3.diff
deleted file mode 100644
index 8126ff5..0000000
--- a/abs/extra/community/lua/lua-5.1.3-official-patch3.diff
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/lapi.c (old)
-+++ src/lapi.c (new)
-@@ -93,15 +93,14 @@
-
-
- LUA_API int lua_checkstack (lua_State *L, int size) {
-- int res;
-+ int res = 1;
- lua_lock(L);
-- if ((L->top - L->base + size) > LUAI_MAXCSTACK)
-+ if (size > LUAI_MAXCSTACK || (L->top - L->base + size) > LUAI_MAXCSTACK)
- res = 0; /* stack overflow */
-- else {
-+ else if (size > 0) {
- luaD_checkstack(L, size);
- if (L->ci->top < L->top + size)
- L->ci->top = L->top + size;
-- res = 1;
- }
- lua_unlock(L);
- return res;