From 12b6f610b0f1b4157c04f0db264f1f1d0634709b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 27 Dec 2023 12:09:11 -0300 Subject: Several tweaks in the garbage collector - back with step size in collectgarbage("step") - adjustments in defaults for some GC parameters - adjustments in 'luaO_codeparam' --- testes/files.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testes/files.lua') diff --git a/testes/files.lua b/testes/files.lua index 2582406f..4f925f50 100644 --- a/testes/files.lua +++ b/testes/files.lua @@ -74,6 +74,8 @@ io.input(io.stdin); io.output(io.stdout); os.remove(file) assert(not loadfile(file)) +-- Lua code cannot use chunks with fixed buffers +checkerr("invalid mode", load, "", "", "B") checkerr("", dofile, file) assert(not io.open(file)) io.output(file) -- cgit v1.2.3-55-g6feb