<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/sapi/phpdbg/phpdbg.c, branch php-7.4.1</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>Fix symtable_cache_limit assignment in phpdbg</title>
<updated>2019-09-13T22:25:07+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-09-13T21:49:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fa07a9c223a4aeaa55232d174d778974999ba779'/>
<id>fa07a9c223a4aeaa55232d174d778974999ba779</id>
<content type='text'>
The meaning of the limit changed in 7.4, it now points one past the
end. Adjust code accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The meaning of the limit changed in 7.4, it now points one past the
end. Adjust code accordingly.
</pre>
</div>
</content>
</entry>
<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>Initialize last_line in phpdbg globals</title>
<updated>2019-07-01T14:14:45+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-07-01T14:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=af3e2d3186874e12c0a66f1c3e46ec08399f0818'/>
<id>af3e2d3186874e12c0a66f1c3e46ec08399f0818</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid reliance on arena details on phpdbg oplog</title>
<updated>2019-06-28T12:47:42+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-06-28T10:32:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=50cce5eb4f7c2627622875d9360b66b6c3234afe'/>
<id>50cce5eb4f7c2627622875d9360b66b6c3234afe</id>
<content type='text'>
Instead of guessing what the address of the first arena allocation
is going to be, embed the sentinel in the oplog_list structure
directly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of guessing what the address of the first arena allocation
is going to be, embed the sentinel in the oplog_list structure
directly.
</pre>
</div>
</content>
</entry>
<entry>
<title>implement tsrm_is_shutdown API</title>
<updated>2019-06-28T08:27:19+00:00</updated>
<author>
<name>Joe Watkins</name>
<email>krakjoe@php.net</email>
</author>
<published>2019-06-26T11:18:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=68485f8ab4df0e1b3e4f446006ce25b6be358975'/>
<id>68485f8ab4df0e1b3e4f446006ce25b6be358975</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the portable zend_strndup() instead of strndup()</title>
<updated>2019-06-28T08:23:38+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2019-06-28T08:20:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=bc0db8ce453aab34941cfe510833d218e50fcae4'/>
<id>bc0db8ce453aab34941cfe510833d218e50fcae4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix phpdbg shutdown order</title>
<updated>2019-06-27T12:20:51+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-06-27T10:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c3132781ecb7b6ff9ca4c8ccb64847fdeb26d2f4'/>
<id>c3132781ecb7b6ff9ca4c8ccb64847fdeb26d2f4</id>
<content type='text'>
In particular, make sure that everything using zmm is released
before zmm is shut down. phpdbg currently gets away with this,
because either a) its custom handlers are used and no auto-free
happens or b) the system allocator is used and no auto-free happens.
With the tracking allocator for asan this no longer works.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In particular, make sure that everything using zmm is released
before zmm is shut down. phpdbg currently gets away with this,
because either a) its custom handlers are used and no auto-free
happens or b) the system allocator is used and no auto-free happens.
With the tracking allocator for asan this no longer works.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use zmm for PHPDBG_G(exec)</title>
<updated>2019-06-27T12:20:30+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-06-27T10:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2149ed7072052fcab3baed72e82e26225845589b'/>
<id>2149ed7072052fcab3baed72e82e26225845589b</id>
<content type='text'>
Uses system allocator when backing up settings ... let's avoid
unnecessary confusion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Uses system allocator when backing up settings ... let's avoid
unnecessary confusion.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix prompt leak in phpdbg</title>
<updated>2019-06-21T15:01:18+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-06-21T13:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a7bcfee9c982bd301ad720d880f35ed949c701a0'/>
<id>a7bcfee9c982bd301ad720d880f35ed949c701a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Register class before fetching parent</title>
<updated>2019-06-11T11:09:33+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-05-24T12:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=89b2d88659b8a561769f51dfab1fa325e7fc0603'/>
<id>89b2d88659b8a561769f51dfab1fa325e7fc0603</id>
<content type='text'>
We want the class declaration to be available while compiling the
parent class.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want the class declaration to be available while compiling the
parent class.
</pre>
</div>
</content>
</entry>
</feed>
