Project

General

Profile

Feature #1895 ยป 0062-Apply-patch-2-for-lua-5.5.0.patch

Marko Lindqvist, 01/11/2026 05:51 AM

View differences:

dependencies/lua-5.5/Version.txt
(http://www.lua.org/ftp/lua-5.5.0.tar.gz)
Upstream bug fixes from https://www.lua.org/bugs.html applied:
1
1, 2
Not entire lua distribution directory hierarchy is included here, and
some files needed for Freeciv usage have been added.
dependencies/lua-5.5/src/lstrlib.c
luaL_argcheck(L, opt != Kstring && opt != Kzstr, 1,
"variable-length format");
size += ntoalign; /* total space used by option */
luaL_argcheck(L, totalsize <= LUA_MAXINTEGER - size,
luaL_argcheck(L, totalsize <= MAX_SIZE - size,
1, "format result too large");
totalsize += size;
}
    (1-1/1)