diffs-lua-5.5.0-rc3-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
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 <code>{10, 20, 30, 40, 50}</code> is a sequence,
> For instance, the table <code>{10,20,30,40,50}</code> is a sequence,
2551c2551
< The table <code>{10, 20, 30, nil, 50}</code> has two borders (3 and 5),
> The table <code>{10,20,30,nil,50}</code> has two borders (3 and 5),
2554c2554
< The table <code>{nil, 20, 30, nil, nil, 60, nil}</code>
> The table <code>{nil,20,30,nil,nil,60,nil}</code>
2950c2950
< in the syntactic constructions <code>t[exp]</code> or <code>t.id</code>).
> in the syntactic constructions <code>t[exp]</code> or <code>t.id</code>.
2982c2982
< for instance <code>return e1, e2, e3</code> (see <a href="#3.3.4">§3.3.4</a>).</li>
> for instance <code>return e1,e2,e3</code> (see <a href="#3.3.4">§3.3.4</a>).</li>
2985c2985
< for instance <code>{e1, e2, e3}</code> (see <a href="#3.4.9">§3.4.9</a>).</li>
> for instance <code>{e1,e2,e3}</code> (see <a href="#3.4.9">§3.4.9</a>).</li>
2988c2988
< for instance <code>foo(e1, e2, e3)</code> (see <a href="#3.4.10">§3.4.10</a>).</li>
> for instance <code>foo(e1,e2,e3)</code> (see <a href="#3.4.10">§3.4.10</a>).</li>
2991c2991
< for instance <code>a , b, c = e1, e2, e3</code> (see <a href="#3.3.3">§3.3.3</a>).</li>
> for instance <code>a,b,c = e1,e2,e3</code> (see <a href="#3.3.3">§3.3.3</a>).</li>
2997c2997
< for instance <code>for k in e1, e2, e3 do ... end</code> (see <a href="#3.3.5">§3.3.5</a>).</li>
> for instance <code>for k in e1,e2,e3 do ... end</code> (see <a href="#3.3.5">§3.3.5</a>).</li>
3040c3040
< Here are some examples of uses of mutlres expressions.
> Here are some examples of uses of multires expressions.
3758c3758
< <code>realloc(NULL, size)</code> is equivalent to <code>malloc(size)</code>.
> <code>realloc(NULL,size)</code> is equivalent to <code>malloc(size)</code>.
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 <code>lua_createtable(L, 0, 0)</code>.
> It is equivalent to <code>lua_createtable(L,0,0)</code>.
6849c6849
< are defined in header file <code>lauxlib.h</code> and
> are defined in the header file <code>lauxlib.h</code> and
7044c7044
< <li>Then initialize it with a call <code>luaL_buffinit(L, &b)</code>.</li>
> <li>Then initialize it with a call <code>luaL_buffinit(L,&b)</code>.</li>
7067c7067
< size <code>sz</code> with a call <code>luaL_buffinitsize(L, &b, sz)</code>.</li>
> size <code>sz</code> with a call <code>luaL_buffinitsize(L,&b,sz)</code>.</li>
7072c7072
< Finish by calling <code>luaL_pushresultsize(&b, sz)</code>,
> Finish by calling <code>luaL_pushresultsize(&b,sz)</code>,
7898c7898
< by calling <code>lua_rawgeti(L, t, r)</code> or <code>lua_geti(L, t, r)</code>.
> by calling <code>lua_rawgeti(L,t,r)</code> or <code>lua_geti(L,t,r)</code>.
8246c8246
< Both functions are defined in the header file <code>lualib.h</code>.
> Both functions are declared in the header file <code>lualib.h</code>.
9872c9872
< and <code>string.sub(s, -i)</code> (for a positive <code>i</code>)
> and <code>string.sub(s,-i)</code> (for a positive <code>i</code>)
10392c10392
< so that <code>utf8.offset(s, -n)</code> gets the offset of the
> so that <code>utf8.offset(s,-n)</code> gets the offset of the
10467c10467
< <code>list[pos], list[pos+1], ···, list[#list]</code>.
> <code>list[pos],list[pos+1],···,list[#list]</code>.
10519c10519
< <code>list[pos+1], list[pos+2], ···, list[#list]</code>
> <code>list[pos+1],list[pos+2],···,list[#list]</code>
12502c12502
< Mon Dec 8 17:34:06 UTC 2025
> Mon Dec 15 21:02:05 UTC 2025
doc/readme.html
284c284
< <IMG SRC="OSIApproved_100X125.png" ALIGN="right" ALT="[Open Source Initiative Approved License]" STYLE="padding-left: 1em" WIDTH=50>
> <IMG SRC="OSIApproved.png" ALIGN="right" ALT="[Open Source Initiative Approved License]" STYLE="padding-left: 1em" WIDTH=50>
326c326
< Mon Dec 8 14:14:37 UTC 2025
> Wed Dec 10 11:37:23 UTC 2025
src/lauxlib.c
1188c1188
< lua_setwarnf(L, warnfoff, L); /* default is warnings off */
> lua_setwarnf(L, warnfon, L);
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));
> }
>
>
> /*
src/ldo.h
91a92
> LUAI_FUNC int luaD_checkminstack (lua_State *L);
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 */
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 */