<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/mbstring, branch php-5.5.0</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>Merge branch 'pull-request/341'</title>
<updated>2013-06-10T21:30:59+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2013-06-10T21:20:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=02e4d7a290ae437688b3a3d114621a1d32444560'/>
<id>02e4d7a290ae437688b3a3d114621a1d32444560</id>
<content type='text'>
* pull-request/341: (23 commits)
  typofixes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* pull-request/341: (23 commits)
  typofixes
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-5.4' into PHP-5.5</title>
<updated>2013-05-09T07:57:44+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2013-05-09T07:57:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b3f6cc20e009e04695b6ce761222283c5af4dcdb'/>
<id>b3f6cc20e009e04695b6ce761222283c5af4dcdb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Missed SKIPIF</title>
<updated>2013-05-09T07:57:25+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2013-05-09T07:57:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=699dc04c5597a6dbd5d4fac43096d01ea37e6069'/>
<id>699dc04c5597a6dbd5d4fac43096d01ea37e6069</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #64769 mbstring PHPTs crash on Windows x64</title>
<updated>2013-05-08T17:22:37+00:00</updated>
<author>
<name>Anatol Belski</name>
<email>ab@php.net</email>
</author>
<published>2013-05-08T16:58:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=4091e946606deaf2f8d909e20701bdb832996074'/>
<id>4091e946606deaf2f8d909e20701bdb832996074</id>
<content type='text'>
The tricky business going there in oniguruma is saving a pointer
in an int variable, passing that variable into a function and making
it a pointer again. On 64bit windows casting a pointer to a 32 bit
int will truncate that pointer. This kind of things won't work on
Windows x64.

[SNIPPET]
unsigned long ul0[2], ul1, *ul2;

ul0[0] = 42uL;
ul0[0] = 24uL;

ul1 = (unsigned long)ul0;
ul2 = (unsigned long *)ul1;

/* now it's broken, accessing ul2[0] will crash. */
[/SNIPPET]

To make it portable, ULONG_PTR should be used in this case.

In oniguruma this behaviour is to see at least in the following
codepath:

ext/mbstring/oniguruma/enc/unicode.c:10938
ext/mbstring/oniguruma/st.c:308
ext/mbstring/oniguruma/enc/unicode.c:10859
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tricky business going there in oniguruma is saving a pointer
in an int variable, passing that variable into a function and making
it a pointer again. On 64bit windows casting a pointer to a 32 bit
int will truncate that pointer. This kind of things won't work on
Windows x64.

[SNIPPET]
unsigned long ul0[2], ul1, *ul2;

ul0[0] = 42uL;
ul0[0] = 24uL;

ul1 = (unsigned long)ul0;
ul2 = (unsigned long *)ul1;

/* now it's broken, accessing ul2[0] will crash. */
[/SNIPPET]

To make it portable, ULONG_PTR should be used in this case.

In oniguruma this behaviour is to see at least in the following
codepath:

ext/mbstring/oniguruma/enc/unicode.c:10938
ext/mbstring/oniguruma/st.c:308
ext/mbstring/oniguruma/enc/unicode.c:10859
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-5.4' into PHP-5.5</title>
<updated>2013-02-16T14:29:14+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2013-02-16T14:29:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=69b80a93defc23ac3bc9b7e58c04628cc2765f7e'/>
<id>69b80a93defc23ac3bc9b7e58c04628cc2765f7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test failed after 0ea83ff8478d867ebf1603a43cd5d3432022cee7</title>
<updated>2013-02-16T14:28:28+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2013-02-16T14:28:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=375e3c273b5219e9937c179ed59d551fdce4e540'/>
<id>375e3c273b5219e9937c179ed59d551fdce4e540</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mb_split() can now handle empty matches like preg_split() does.</title>
<updated>2013-02-10T06:05:17+00:00</updated>
<author>
<name>Moriyoshi Koizumi</name>
<email>mozo@mozo.jp</email>
</author>
<published>2013-02-10T06:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=20eb33b3212bd6c17d73c569c7345ae23c04d3ef'/>
<id>20eb33b3212bd6c17d73c569c7345ae23c04d3ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mb_split() can now handle empty matches like preg_split() does.</title>
<updated>2013-02-10T06:04:23+00:00</updated>
<author>
<name>Moriyoshi Koizumi</name>
<email>mozo@mozo.jp</email>
</author>
<published>2013-02-10T06:04:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0ea83ff8478d867ebf1603a43cd5d3432022cee7'/>
<id>0ea83ff8478d867ebf1603a43cd5d3432022cee7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Happy New Year</title>
<updated>2013-01-01T08:37:09+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2013-01-01T08:37:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a666285bc2488b7f7362368c388e41428610ad1d'/>
<id>a666285bc2488b7f7362368c388e41428610ad1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Happy New Year</title>
<updated>2013-01-01T08:28:54+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@php.net</email>
</author>
<published>2013-01-01T08:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0a7395e009b2df94c2a3f05aef69fb1779edf8f8'/>
<id>0a7395e009b2df94c2a3f05aef69fb1779edf8f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
