]> git.ipfire.org Git - thirdparty/rspamd.git/commit
Allow for use of Lua 5.5
authorBrett Neumeier <brett@neumeier.us>
Tue, 13 Jan 2026 15:03:47 +0000 (09:03 -0600)
committerBrett Neumeier <brett@neumeier.us>
Tue, 13 Jan 2026 15:03:47 +0000 (09:03 -0600)
commitd668cbb7d41fbee18a6c8a40666f90e6d3689ddc
treeef1115606a1e181688f093e5c551e677c70948f1
parent893a9e2ef7786cd2712ab5daf44d6544bac51828
Allow for use of Lua 5.5

In Lua 5.5, the signature for lua_newstate changes
(there is now an additional "seed" argument),
and the mechanism for adjusting garbage collection also changes.

I don't know whether the seed of 0 is ideal when using lua_newstate;
probably, using a random seed would be better. This is a minimal patch
that gets back to a working build.
src/lua/lua_common.c