mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:47:14 +08:00
13 lines
402 B
Diff
13 lines
402 B
Diff
--- 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
|