diff options
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/community/lua/lua-5.1.3-official-patch1.diff | 12 | ||||
-rw-r--r-- | abs/extra/community/lua/lua-5.1.3-official-patch2.diff | 11 |
2 files changed, 0 insertions, 23 deletions
diff --git a/abs/extra/community/lua/lua-5.1.3-official-patch1.diff b/abs/extra/community/lua/lua-5.1.3-official-patch1.diff deleted file mode 100644 index dec8fba..0000000 --- a/abs/extra/community/lua/lua-5.1.3-official-patch1.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- src/lbaselib.c -+++ src/lbaselib.c -443c443,444 -< ** functions to consume unlimited stack space. ---- -> ** functions to consume unlimited stack space. (must be smaller than -> ** -LUA_REGISTRYINDEX) -445,446c446 -< #define LUAI_MCS_AUX ((int)(INT_MAX / (4*sizeof(LUA_NUMBER)))) -< #define LUAI_MAXCSTACK (LUAI_MCS_AUX > SHRT_MAX ? SHRT_MAX : LUAI_MCS_AUX) ---- -> #define LUAI_MAXCSTACK 8000 diff --git a/abs/extra/community/lua/lua-5.1.3-official-patch2.diff b/abs/extra/community/lua/lua-5.1.3-official-patch2.diff deleted file mode 100644 index 05ac244..0000000 --- a/abs/extra/community/lua/lua-5.1.3-official-patch2.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- src/lbaselib.c (old) -+++ src/lbaselib.c (new) -@@ -526,7 +526,7 @@ - status = lua_resume(co, narg); - if (status == 0 || status == LUA_YIELD) { - int nres = lua_gettop(co); -- if (!lua_checkstack(L, nres)) -+ if (!lua_checkstack(L, nres + 1)) - luaL_error(L, "too many results to resume"); - lua_xmove(co, L, nres); /* move yielded values */ - return nres; |