<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/loslib.c, branch temporary</title>
<subtitle>github.com: lua/lua.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/'/>
<entry>
<title>'luaL_execresult' does not assume -1 status as error</title>
<updated>2020-05-22T18:39:29+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-05-22T18:39:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=efcf24be0c22cba57b298161bf4ab0561fd3c08e'/>
<id>efcf24be0c22cba57b298161bf4ab0561fd3c08e</id>
<content type='text'>
ISO C is silent about the return of 'system'. Windows sets 'errno' in
case of errors. Linux has several different error cases, with different
return values. ISO C allows 'system' to set 'errno' even if there are no
errors. Here we assume that a status==0 is success (which is the case
on several platforms), otherwise it is an error. If there is an error
number, gives the error based on it. (The worst a spurious 'errno'
can do is to generate a bad error message.) Otherwise uses the normal
results.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ISO C is silent about the return of 'system'. Windows sets 'errno' in
case of errors. Linux has several different error cases, with different
return values. ISO C allows 'system' to set 'errno' even if there are no
errors. Here we assume that a status==0 is success (which is the case
on several platforms), otherwise it is an error. If there is an error
number, gives the error based on it. (The worst a spurious 'errno'
can do is to generate a bad error message.) Otherwise uses the normal
results.
</pre>
</div>
</content>
</entry>
<entry>
<title>Several details about 5.4.0 rc1</title>
<updated>2020-04-23T17:48:15+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-04-23T17:48:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=0ddc0f47bd2a03678e1afbc384550aecb55a318f'/>
<id>0ddc0f47bd2a03678e1afbc384550aecb55a318f</id>
<content type='text'>
Corrected several small details: added 'const', adjusts in tabs x
spaces, removed unused #includes and #defines, misspellings, etc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Corrected several small details: added 'const', adjusts in tabs x
spaces, removed unused #includes and #defines, misspellings, etc.
</pre>
</div>
</content>
</entry>
<entry>
<title>Comments (mosty typos)</title>
<updated>2019-12-30T14:45:08+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-12-30T14:45:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=bd1b87c5790c0c6fe23f76aa360e879922e1e738'/>
<id>bd1b87c5790c0c6fe23f76aa360e879922e1e738</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some improvements in date/time functions</title>
<updated>2019-07-24T18:01:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-07-24T18:01:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=0eb6aa4013051c8c0148c09d8c85ee7cbdc96f42'/>
<id>0eb6aa4013051c8c0148c09d8c85ee7cbdc96f42</id>
<content type='text'>
- Range in date table extended to full 32 bits.
- Easier support for times represented as floats.
- Added more tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Range in date table extended to full 32 bits.
- Easier support for times represented as floats.
- Added more tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed resource-related "emergency collections"</title>
<updated>2018-10-31T19:25:29+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2018-10-31T19:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=2fc6b55dae7a120b4272ca0e9c356d1f96053bd9'/>
<id>2fc6b55dae7a120b4272ca0e9c356d1f96053bd9</id>
<content type='text'>
New to-be-closed variables is a better way to ensure the proper release
of resources.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New to-be-closed variables is a better way to ensure the proper release
of resources.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added "emergency collection" to 'io.tmpfile' and 'os.tmpname'</title>
<updated>2018-07-27T18:50:53+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2018-07-27T18:50:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=3d838f635cc81ec3332f9a904992db1c6d8a46ad'/>
<id>3d838f635cc81ec3332f9a904992db1c6d8a46ad</id>
<content type='text'>
These operations also can give errors for lack of resources, so they
also will try "emergency collections" in case of resource errors.
Because there are now two libraries with that kind of handling,
'resourcetryagain' was moved to the auxiliary library to be shared
by the libraries.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These operations also can give errors for lack of resources, so they
also will try "emergency collections" in case of resource errors.
Because there are now two libraries with that kind of handling,
'resourcetryagain' was moved to the auxiliary library to be shared
by the libraries.
</pre>
</div>
</content>
</entry>
<entry>
<title>File operations try an "emergency collection" when failing</title>
<updated>2018-07-25T14:44:46+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2018-07-25T14:44:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=e885dee5ab4dbee2457ee2023340e848fdabdef9'/>
<id>e885dee5ab4dbee2457ee2023340e848fdabdef9</id>
<content type='text'>
If a file operation fails do to lack of resources (too many open
files or not enough memory), it does a full garbage collection and
tries the operation again. Lack of resources are "too many open
files" (process wise and system wise) and "not enough memory".
The code is full of '#if's because error codes are not part
of the standard ISO C.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a file operation fails do to lack of resources (too many open
files or not enough memory), it does a full garbage collection and
tries the operation again. Lack of resources are "too many open
files" (process wise and system wise) and "not enough memory".
The code is full of '#if's because error codes are not part
of the standard ISO C.
</pre>
</div>
</content>
</entry>
<entry>
<title>added 'return' to calls to 'luaL_error' (to signal to the compiler</title>
<updated>2017-03-14T12:40:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2017-03-14T12:40:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=1a1b2f3d7f321dd6f28118c985986940b189c635'/>
<id>1a1b2f3d7f321dd6f28118c985986940b189c635</id>
<content type='text'>
that the function cannot continue past that call)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that the function cannot continue past that call)
</pre>
</div>
</content>
</entry>
<entry>
<title>bug: 'checkoption' could read past end of string + 'os.date' can</title>
<updated>2016-07-18T17:58:58+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2016-07-18T17:58:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=de96e26afc690957a1b14380ea589c10b9b9e162'/>
<id>de96e26afc690957a1b14380ea589c10b9b9e162</id>
<content type='text'>
handle embedded zeros
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
handle embedded zeros
</pre>
</div>
</content>
</entry>
<entry>
<title>'os.time(t)' normalizes 't' fields</title>
<updated>2016-04-18T13:06:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2016-04-18T13:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/lua-github.git/commit/?id=48baa5e89cfd7e7fbfe03966b50bfcf4f57cc6cd'/>
<id>48baa5e89cfd7e7fbfe03966b50bfcf4f57cc6cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
