'lua_checkstack' doesn't need to check stack overflow

'luaD_growstack' already checks that. This commit also fixes an
internal bug in 'luaD_growstack': a large 'n' could cause an arithmetic
overflow when computing 'needed'.
This commit is contained in:
Roberto Ierusalimschy
2022-05-23 10:38:03 -03:00
parent 42d40581dd
commit 4a00f61276
5 changed files with 17 additions and 26 deletions

2
all
View File

@@ -1,7 +1,7 @@
make -s -j
cd testes/libs; make -s
cd .. # back to directory 'testes'
ulimit -S -s 1000
ulimit -S -s 1100
if { ../lua -W all.lua; } then
echo -e "\n\n final OK!!!!\n\n"
else