<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lauxlib.c, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-07-24T14:38:45+00:00</updated>
<entry>
<title>Bug: 'luaL_newmetatable' used in a wrong way</title>
<updated>2026-07-24T14:38:45+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-07-24T14:38:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f4f4968fd3947519fdca385b6f9757e55ae60441'/>
<id>urn:sha1:f4f4968fd3947519fdca385b6f9757e55ae60441</id>
<content type='text'>
The call to 'luaL_newmetatable' in 'newbox' can leave an incomplete
metatable in the registry, if 'luaL_setfuncs' raises a memory error.
</content>
</entry>
<entry>
<title>More permissive use of 'errno'</title>
<updated>2024-06-05T14:50:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-05T14:50:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7eb1ed21b7057ab5f1b921f8271eddcf13659737'/>
<id>urn:sha1:7eb1ed21b7057ab5f1b921f8271eddcf13659737</id>
<content type='text'>
Assume that no function will put garbage on errno (although ISO C allows
that). If any function during an operation set errno, and the operation
result in an error, assume that errno has something to say.
</content>
</entry>
<entry>
<title>Bug: luaL_traceback may need more than 5 stack slots</title>
<updated>2024-06-04T19:40:53+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-04T19:40:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=2db966fcbf757775c842bc66449d7e697826aa1d'/>
<id>urn:sha1:2db966fcbf757775c842bc66449d7e697826aa1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More disciplined use of 'errno'</title>
<updated>2024-06-04T15:48:29+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-04T15:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d5212c13b081ed62d8e1ae436779e79c79edf564'/>
<id>urn:sha1:d5212c13b081ed62d8e1ae436779e79c79edf564</id>
<content type='text'>
Set errno to zero before calling any function where we may use its
errno, and check errno for zero before using it (as functions may
not set it even in error).
</content>
</entry>
<entry>
<title>Panic functions should not raise errors</title>
<updated>2023-11-24T19:08:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-11-24T19:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=842a83f09caa2ebd4bc03e0076420148ac07c808'/>
<id>urn:sha1:842a83f09caa2ebd4bc03e0076420148ac07c808</id>
<content type='text'>
The standard panic function was using 'lua_tostring', which may raise
a memory-allocation error if error value is a number.
</content>
</entry>
<entry>
<title>Changed the growth rate of string buffers</title>
<updated>2022-09-06T13:58:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-09-06T13:58:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=69b77b6fde32cdf5dcaeeb92996bf6c4697e0b4f'/>
<id>urn:sha1:69b77b6fde32cdf5dcaeeb92996bf6c4697e0b4f</id>
<content type='text'>
The growth rate of string buffers was reduced from 2 to 1.5 (3/2).
As string buffers start larger (256~1024 bytes), they don't need to
grow that fast. Moreover, a lower rate allows multiplicative growth up
to larger sizes (3/2 of the maximum). (After that, the growth becomes
linear, which is mostly useless.)
</content>
</entry>
<entry>
<title>Simpler handling of Byte Order Mark (BOM)</title>
<updated>2022-08-23T19:08:53+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-08-23T19:08:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=02060b7a37d88d4e92cf64a008c0651eae432c12'/>
<id>urn:sha1:02060b7a37d88d4e92cf64a008c0651eae432c12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Better documentation for 'multires' expressions</title>
<updated>2022-08-19T17:10:18+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-08-19T17:10:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c6cea857a4845940c833e39a149d20bb64a9af85'/>
<id>urn:sha1:c6cea857a4845940c833e39a149d20bb64a9af85</id>
<content type='text'>
Manual has a new section explaining multires expressions, lists of
expressions, and adjustments. This commit also corrects some comments
in the code.
</content>
</entry>
<entry>
<title>Bug: luaL_tolstring may get confused with negative index</title>
<updated>2021-07-22T16:48:43+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-07-22T16:48:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=439e45a2f69549b674d6a6e2023e8debfa00a2b8'/>
<id>urn:sha1:439e45a2f69549b674d6a6e2023e8debfa00a2b8</id>
<content type='text'>
When object has a '__name' metafield, 'luaL_tolstring' used the
received index after pushing a string on the stack.
</content>
</entry>
<entry>
<title>Added assertions for proper use of string buffers</title>
<updated>2021-03-02T14:39:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-02T14:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cf23a93d820558acdb8b1f0db85fdb94e709fee2'/>
<id>urn:sha1:cf23a93d820558acdb8b1f0db85fdb94e709fee2</id>
<content type='text'>
</content>
</entry>
</feed>
