diff -Nr lua-5.5.0-rc3/README lua-5.5.0-rc4/README
2c2
< This is Lua 5.5.0, released on 08 Dec 2025.
---
> This is Lua 5.5.0, released on 15 Dec 2025.
Binary files lua-5.5.0-rc3/doc/OSIApproved.png and lua-5.5.0-rc4/doc/OSIApproved.png differ
Binary files lua-5.5.0-rc3/doc/OSIApproved_100X125.png and lua-5.5.0-rc4/doc/OSIApproved_100X125.png differ
diff -Nr lua-5.5.0-rc3/doc/manual.html lua-5.5.0-rc4/doc/manual.html
169c169
< according to the usual rules of two-complement arithmetic.
---
> according to the usual rules of two's complement arithmetic.
2549c2549
< For instance, the table {10, 20, 30, 40, 50} is a sequence,
---
> For instance, the table {10,20,30,40,50} is a sequence,
2551c2551
< The table {10, 20, 30, nil, 50} has two borders (3 and 5),
---
> The table {10,20,30,nil,50} has two borders (3 and 5),
2554c2554
< The table {nil, 20, 30, nil, nil, 60, nil}
---
> The table {nil,20,30,nil,nil,60,nil}
2950c2950
< in the syntactic constructions t[exp] or t.id).
---
> in the syntactic constructions t[exp] or t.id.
2982c2982
< for instance return e1, e2, e3 (see §3.3.4).
---
> for instance return e1,e2,e3 (see §3.3.4).
2985c2985
< for instance {e1, e2, e3} (see §3.4.9).
---
> for instance {e1,e2,e3} (see §3.4.9).
2988c2988
< for instance foo(e1, e2, e3) (see §3.4.10).
---
> for instance foo(e1,e2,e3) (see §3.4.10).
2991c2991
< for instance a , b, c = e1, e2, e3 (see §3.3.3).
---
> for instance a,b,c = e1,e2,e3 (see §3.3.3).
2997c2997
< for instance for k in e1, e2, e3 do ... end (see §3.3.5).
---
> for instance for k in e1,e2,e3 do ... end (see §3.3.5).
3040c3040
< Here are some examples of uses of mutlres expressions.
---
> Here are some examples of uses of multires expressions.
3758c3758
< realloc(NULL, size) is equivalent to malloc(size).
---
> realloc(NULL,size) is equivalent to malloc(size).
4450c4450
< (usually a 64-bit two-complement integer),
---
> (usually a 64-bit two's complement integer),
4452c4452
< (usually a 32-bit two-complement integer).
---
> (usually a 32-bit two's complement integer).
4783c4783
< It is equivalent to lua_createtable(L, 0, 0).
---
> It is equivalent to lua_createtable(L,0,0).
6849c6849
< are defined in header file lauxlib.h and
---
> are defined in the header file lauxlib.h and
7044c7044
<
luaL_buffinit(L, &b).luaL_buffinit(L,&b).sz with a call luaL_buffinitsize(L, &b, sz).
---
> size sz with a call luaL_buffinitsize(L,&b,sz).
7072c7072
< Finish by calling luaL_pushresultsize(&b, sz),
---
> Finish by calling luaL_pushresultsize(&b,sz),
7898c7898
< by calling lua_rawgeti(L, t, r) or lua_geti(L, t, r).
---
> by calling lua_rawgeti(L,t,r) or lua_geti(L,t,r).
8246c8246
< Both functions are defined in the header file lualib.h.
---
> Both functions are declared in the header file lualib.h.
9872c9872
< and string.sub(s, -i) (for a positive i)
---
> and string.sub(s,-i) (for a positive i)
10392c10392
< so that utf8.offset(s, -n) gets the offset of the
---
> so that utf8.offset(s,-n) gets the offset of the
10467c10467
< list[pos], list[pos+1], ···, list[#list].
---
> list[pos],list[pos+1],···,list[#list].
10519c10519
< list[pos+1], list[pos+2], ···, list[#list]
---
> list[pos+1],list[pos+2],···,list[#list]
12502c12502
< Mon Dec 8 17:34:06 UTC 2025
---
> Mon Dec 15 21:02:05 UTC 2025
diff -Nr lua-5.5.0-rc3/doc/readme.html lua-5.5.0-rc4/doc/readme.html
284c284
<
---
>
326c326
< Mon Dec 8 14:14:37 UTC 2025
---
> Wed Dec 10 11:37:23 UTC 2025
diff -Nr lua-5.5.0-rc3/src/lauxlib.c lua-5.5.0-rc4/src/lauxlib.c
1188c1188
< lua_setwarnf(L, warnfoff, L); /* default is warnings off */
---
> lua_setwarnf(L, warnfon, L);
diff -Nr lua-5.5.0-rc3/src/ldo.c lua-5.5.0-rc4/src/ldo.c
223a224,234
> ** Check whether stack has enough space to run a simple function (such
> ** as a finalizer): At least BASIC_STACK_SIZE in the Lua stack and
> ** 2 slots in the C stack.
> */
> int luaD_checkminstack (lua_State *L) {
> return ((stacksize(L) < MAXSTACK - BASIC_STACK_SIZE) &&
> (getCcalls(L) < LUAI_MAXCCALLS - 2));
> }
>
>
> /*
diff -Nr lua-5.5.0-rc3/src/ldo.h lua-5.5.0-rc4/src/ldo.h
91a92
> LUAI_FUNC int luaD_checkminstack (lua_State *L);
diff -Nr lua-5.5.0-rc3/src/lgc.c lua-5.5.0-rc4/src/lgc.c
1296c1296
< if (!g->gcemergency)
---
> if (!g->gcemergency && luaD_checkminstack(L))
1670c1670
< if (g->tobefnz && !g->gcemergency) {
---
> if (g->tobefnz && !g->gcemergency && luaD_checkminstack(L)) {
1675c1675,1676
< else { /* emergency mode or no more finalizers */
---
> else { /* no more finalizers or emergency mode or no enough stack
> to run finalizers */
diff -Nr lua-5.5.0-rc3/src/lua.c lua-5.5.0-rc4/src/lua.c
351a352
> lua_warning(L, "@off", 0); /* by default, Lua stand-alone has warnings off */
728c729
< if (!runargs(L, argv, optlim)) /* execute arguments -e and -l */
---
> if (!runargs(L, argv, optlim)) /* execute arguments -e, -l, and -W */