<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/sqlite3/sqlite3.c, branch php-7.4.0RC4</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Report errors from stream read and write operations</title>
<updated>2019-07-22T15:17:28+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-07-18T13:25:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d59aac58b3e7da7ad01a194fe9840d89725ea229'/>
<id>d59aac58b3e7da7ad01a194fe9840d89725ea229</id>
<content type='text'>
The php_stream_read() and php_stream_write() functions now return
an ssize_t value, with negative results indicating failure. Functions
like fread() and fwrite() will return false in that case.

As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams
should not be regarded as error conditions, and be reported as
successful zero-length reads/writes instead. The handling of EINTR
remains unclear and is internally inconsistent (e.g. some code-paths
will automatically retry on EINTR, while some won't).

I'm landing this now to make sure the stream wrapper ops API changes
make it into 7.4 -- however, if the user-facing changes turn out to
be problematic we have the option of clamping negative returns to
zero in php_stream_read() and php_stream_write() to restore the
old behavior in a relatively non-intrusive manner.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The php_stream_read() and php_stream_write() functions now return
an ssize_t value, with negative results indicating failure. Functions
like fread() and fwrite() will return false in that case.

As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams
should not be regarded as error conditions, and be reported as
successful zero-length reads/writes instead. The handling of EINTR
remains unclear and is internally inconsistent (e.g. some code-paths
will automatically retry on EINTR, while some won't).

I'm landing this now to make sure the stream wrapper ops API changes
make it into 7.4 -- however, if the user-facing changes turn out to
be problematic we have the option of clamping negative returns to
zero in php_stream_read() and php_stream_write() to restore the
old behavior in a relatively non-intrusive manner.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement SQLite extended result code functionality</title>
<updated>2019-07-02T11:03:35+00:00</updated>
<author>
<name>Robert Kopack</name>
<email>rkopack@tenable.com</email>
</author>
<published>2019-07-02T10:59:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b546ae986a6efe4daadd23e27f6ccaac5c857e5e'/>
<id>b546ae986a6efe4daadd23e27f6ccaac5c857e5e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leak on sqlite3 open error</title>
<updated>2019-06-25T12:28:58+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-06-25T10:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8277acefbd62a5a4846a10d1d9b4f7daa36ee363'/>
<id>8277acefbd62a5a4846a10d1d9b4f7daa36ee363</id>
<content type='text'>
sqlite3_open creates the database object even if the operation
fails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sqlite3_open creates the database object even if the operation
fails.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement SQLite3 backup API</title>
<updated>2019-06-17T21:34:51+00:00</updated>
<author>
<name>BohwaZ</name>
<email>bohwaz@github.com</email>
</author>
<published>2019-06-17T21:28:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ce22ccc77b1cfe3d922ebe485069afc61d784916'/>
<id>ce22ccc77b1cfe3d922ebe485069afc61d784916</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cheaper checks for exceptions thrown from __toString()</title>
<updated>2019-06-05T22:47:22+00:00</updated>
<author>
<name>Dmitry Stogov</name>
<email>dmitry@zend.com</email>
</author>
<published>2019-06-05T22:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=457392fa64692be0927ed641369370f02afb0420'/>
<id>457392fa64692be0927ed641369370f02afb0420</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow exceptions in __toString()</title>
<updated>2019-06-05T12:25:07+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-02-26T14:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a31f46421d7bf6f55dd9ac5876b8e2eacf7e0708'/>
<id>a31f46421d7bf6f55dd9ac5876b8e2eacf7e0708</id>
<content type='text'>
RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC: https://wiki.php.net/rfc/tostring_exceptions

And convert some object to string conversion related recoverable
fatal errors into Error exceptions.

Improve exception safety of internal code performing string
conversions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros</title>
<updated>2019-05-28T17:10:02+00:00</updated>
<author>
<name>Dmitry Stogov</name>
<email>dmitry@zend.com</email>
</author>
<published>2019-05-28T17:10:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=83804519dffcbb23ef689b37816ee28f2c3192e0'/>
<id>83804519dffcbb23ef689b37816ee28f2c3192e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.3' into PHP-7.4</title>
<updated>2019-05-28T04:36:10+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-05-28T04:36:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ffc15e913c5ca41b7982706ec9bd2418720b2806'/>
<id>ffc15e913c5ca41b7982706ec9bd2418720b2806</id>
<content type='text'>
* PHP-7.3:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.3:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.2' into PHP-7.3</title>
<updated>2019-05-28T04:36:05+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-05-28T04:36:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9d473f1eac86662c3ef14a824cb9aed03d53592f'/>
<id>9d473f1eac86662c3ef14a824cb9aed03d53592f</id>
<content type='text'>
* PHP-7.2:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.2:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.1' into PHP-7.2</title>
<updated>2019-05-28T04:36:00+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-05-28T04:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fbb6a27212641110dd688296de43cd2a0e08a1ba'/>
<id>fbb6a27212641110dd688296de43cd2a0e08a1ba</id>
<content type='text'>
* PHP-7.1:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.1:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</pre>
</div>
</content>
</entry>
</feed>
