diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-27 12:09:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-27 12:09:11 -0300 |
commit | 12b6f610b0f1b4157c04f0db264f1f1d0634709b (patch) | |
tree | 198881cf4ac938aa9082fe7781d575e359d9bf09 /testes/files.lua | |
parent | e81f586001d767c8de9b760ae2e2c3b5da1542c6 (diff) | |
download | lua-12b6f610b0f1b4157c04f0db264f1f1d0634709b.tar.gz lua-12b6f610b0f1b4157c04f0db264f1f1d0634709b.tar.bz2 lua-12b6f610b0f1b4157c04f0db264f1f1d0634709b.zip |
Several tweaks in the garbage collector
- back with step size in collectgarbage("step")
- adjustments in defaults for some GC parameters
- adjustments in 'luaO_codeparam'
Diffstat (limited to 'testes/files.lua')
-rw-r--r-- | testes/files.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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); | |||
74 | 74 | ||
75 | os.remove(file) | 75 | os.remove(file) |
76 | assert(not loadfile(file)) | 76 | assert(not loadfile(file)) |
77 | -- Lua code cannot use chunks with fixed buffers | ||
78 | checkerr("invalid mode", load, "", "", "B") | ||
77 | checkerr("", dofile, file) | 79 | checkerr("", dofile, file) |
78 | assert(not io.open(file)) | 80 | assert(not io.open(file)) |
79 | io.output(file) | 81 | io.output(file) |