<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/liolib.c, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2025-08-26T15:30:34+00:00</updated>
<entry>
<title>New compile option LUA_USE_OFF_T</title>
<updated>2025-08-26T15:30:34+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-08-26T15:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9a3940380a2a1540dc500593a6de0c1c5e6feb69'/>
<id>urn:sha1:9a3940380a2a1540dc500593a6de0c1c5e6feb69</id>
<content type='text'>
Allows non-Posix systems to use off_t and related functions for
file offsets.
</content>
</entry>
<entry>
<title>Tiny refactoring in io.flush</title>
<updated>2025-04-03T15:56:52+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-04-03T15:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=620f49a7aae8a5c982b21f0accbf2ff9019a55f6'/>
<id>urn:sha1:620f49a7aae8a5c982b21f0accbf2ff9019a55f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>io.write returns number of written bytes on error</title>
<updated>2025-04-03T14:32:49+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-04-03T14:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3f4f28010aa5065456f1edf97de1ab268cc49944'/>
<id>urn:sha1:3f4f28010aa5065456f1edf97de1ab268cc49944</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Renaming two new functions</title>
<updated>2025-01-27T19:09:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-01-27T19:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c4e7cdb541d89142056927ebdfd8f97017d38f45'/>
<id>urn:sha1:c4e7cdb541d89142056927ebdfd8f97017d38f45</id>
<content type='text'>
'lua_numbertostrbuff' -&gt; 'lua_numbertocstring'
'lua_pushextlstring' -&gt; 'lua_pushexternalstring'
</content>
</entry>
<entry>
<title>New function 'lua_numbertostrbuff'</title>
<updated>2024-10-23T20:16:17+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-10-23T20:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e3ce88c9e850b7e79751083014699c5eae1bff31'/>
<id>urn:sha1:e3ce88c9e850b7e79751083014699c5eae1bff31</id>
<content type='text'>
It converts a Lua number to a string in a buffer, without creating
a new Lua string.
</content>
</entry>
<entry>
<title>Added gcc option '-Wconversion'</title>
<updated>2024-07-27T16:32:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-07-27T16:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b'/>
<id>urn:sha1:0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b</id>
<content type='text'>
No warnings for standard numerical types. Still pending alternative
numerical types.
</content>
</entry>
<entry>
<title>llimits.h being used by all Lua code</title>
<updated>2024-06-20T17:46:06+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-20T17:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=a08d82eb132bfd9db5b91e0d5ebcb81d7b26dcd0'/>
<id>urn:sha1:a08d82eb132bfd9db5b91e0d5ebcb81d7b26dcd0</id>
<content type='text'>
The definitions in llimits.h are useful not only for the core. That
header only defines types and '#define's, so libs and core still do
not share any real code/data.
</content>
</entry>
<entry>
<title>More disciplined use of 'errno'</title>
<updated>2024-06-12T18:50:31+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-12T18:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=bb7bb5944c9b3c868c6ab9cbe7d11b611251066b'/>
<id>urn:sha1:bb7bb5944c9b3c868c6ab9cbe7d11b611251066b</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). The code assumes 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>Manual: errors in lua_toclose are not memory errors</title>
<updated>2024-05-23T12:55:26+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-05-23T12:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cbdf4969ec425f1df1ade358425c0bf0bf811d83'/>
<id>urn:sha1:cbdf4969ec425f1df1ade358425c0bf0bf811d83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Broadening the use of branch hints</title>
<updated>2021-02-24T14:14:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-24T14:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=59c88f846d1dcd901a4420651aedf27816618923'/>
<id>urn:sha1:59c88f846d1dcd901a4420651aedf27816618923</id>
<content type='text'>
More uses of macros 'likely'/'unlikely' (renamed to
'l_likely'/'l_unlikely'), both in range (extended to the
libraries) and in scope (extended to hooks, stack growth).
</content>
</entry>
</feed>
