<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/posix/tests, branch php-7.2.17</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>Sync leading and final newlines in *.phpt sections</title>
<updated>2018-10-15T02:31:31+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2018-10-15T02:31:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f1d7e3ca0b70f910fcecef0278de9c15440ca3c0'/>
<id>f1d7e3ca0b70f910fcecef0278de9c15440ca3c0</id>
<content type='text'>
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.

According to POSIX, a line is a sequence of zero or more non-' &lt;newline&gt;'
characters plus a terminating '&lt;newline&gt;' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.

According to POSIX, a line is a sequence of zero or more non-' &lt;newline&gt;'
characters plus a terminating '&lt;newline&gt;' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim trailing whitespace in *.phpt</title>
<updated>2018-10-14T17:44:14+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2018-10-14T15:23:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=17ccbeec3242b80f84fbf6b3acd58421ef003b02'/>
<id>17ccbeec3242b80f84fbf6b3acd58421ef003b02</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.1' into PHP-7.2</title>
<updated>2018-09-01T12:28:13+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2018-09-01T12:27:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7bcda659f810d55041fbe3b76823ba4c10c03928'/>
<id>7bcda659f810d55041fbe3b76823ba4c10c03928</id>
<content type='text'>
* PHP-7.1:
  Fix #75696: posix_getgrnam fails to print details of group
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.1:
  Fix #75696: posix_getgrnam fails to print details of group
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #75696: posix_getgrnam fails to print details of group</title>
<updated>2018-09-01T12:25:59+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2018-08-24T15:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2677d438502b68a967d46ffadfadc138070ce762'/>
<id>2677d438502b68a967d46ffadfadc138070ce762</id>
<content type='text'>
According to the POSIX specification of `getgrnam_r()` the result of
`sysconf(_SC_GETGR_R_SIZE_MAX)` is an initial value suggested for the
size of the buffer, and `ERANGE` signals that insufficient storage was
supplied.  So if we get `ERANGE`, we try again with a buffer twice as
big, and so on, instead of failing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to the POSIX specification of `getgrnam_r()` the result of
`sysconf(_SC_GETGR_R_SIZE_MAX)` is an initial value suggested for the
size of the buffer, and `ERANGE` signals that insufficient storage was
supplied.  So if we get `ERANGE`, we try again with a buffer twice as
big, and so on, instead of failing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove superfluous semicolons</title>
<updated>2017-06-25T22:23:25+00:00</updated>
<author>
<name>Tom Van Looy</name>
<email>tom@ctors.net</email>
</author>
<published>2017-06-25T21:24:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=04fb3f28ff677d036cfaf902f07b75f0346a5c33'/>
<id>04fb3f28ff677d036cfaf902f07b75f0346a5c33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add basic test for posix_setegid function</title>
<updated>2017-06-02T21:43:56+00:00</updated>
<author>
<name>Shaikhul Chowdhury</name>
<email>shaikhul.net@gmail.com</email>
</author>
<published>2017-05-26T04:46:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=6ee932ccce60023d842b4cc3f9a92965f3f6ceea'/>
<id>6ee932ccce60023d842b4cc3f9a92965f3f6ceea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove obsolete version checks from tests</title>
<updated>2017-02-01T23:58:04+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2017-02-01T23:57:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fb008bf60e88e9bef10860322d1fa59d8e53b8f6'/>
<id>fb008bf60e88e9bef10860322d1fa59d8e53b8f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #72948: Uncatchable "Catchable" fatal error for class to string conversions</title>
<updated>2016-09-03T11:05:37+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2016-09-03T11:05:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=727b422ad91f0d767d8f0fb3951b89fa9da8668f'/>
<id>727b422ad91f0d767d8f0fb3951b89fa9da8668f</id>
<content type='text'>
E_RECOVERABLE errors are reported as "Catchable fatal error". This is
misleading, because they actually can't be caught via try-catch statements.
Therefore we change the wording to "Recoverable fatal error" as suggested by
Nikita.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
E_RECOVERABLE errors are reported as "Catchable fatal error". This is
misleading, because they actually can't be caught via try-catch statements.
Therefore we change the wording to "Recoverable fatal error" as suggested by
Nikita.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add posix_setrlimit() FR #54603</title>
<updated>2015-07-08T20:12:07+00:00</updated>
<author>
<name>Magnus Määttä</name>
<email>magnus@php.net</email>
</author>
<published>2015-07-08T20:12:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=963d906aff71325f0e3d3620318601c0fb5962c1'/>
<id>963d906aff71325f0e3d3620318601c0fb5962c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use "float" and "integer" in typehint and zpp errors</title>
<updated>2014-12-21T13:23:02+00:00</updated>
<author>
<name>Andrea Faulds</name>
<email>ajf@ajf.me</email>
</author>
<published>2014-12-14T18:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=e5eb9530ab13a174feee83a81d87bfceee37bd88'/>
<id>e5eb9530ab13a174feee83a81d87bfceee37bd88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
