Re: svn: /php/php-src/branches/PHP_5_3/Zend/ zend_alloc.c
| From: | Derick Rethans | Date: | Tue, 11 Aug 2009 09:10:38 +0000 |
| Subject: | Re: svn: /php/php-src/branches/PHP_5_3/Zend/ zend_alloc.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-60092@lists.php.net to get a copy of this message | ||
On Sun, 9 Aug 2009, Andi Gutmans wrote:
> andi Sun, 09 Aug 2009 04:46:30 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=286941
>
> Log:
> - MFH
Could you please commit those changes to trunk and branches/* at the
same time? Or at least repeat the log message? "MFH" is not very useful
if you're trying to figure out what this patch does.
regards,
Derick
>
> Changed paths:
> U php/php-src/branches/PHP_5_3/Zend/zend_alloc.c
>
> Modified: php/php-src/branches/PHP_5_3/Zend/zend_alloc.c
> ===================================================================
> --- php/php-src/branches/PHP_5_3/Zend/zend_alloc.c 2009-08-09 04:46:02 UTC (rev 286940)
> +++ php/php-src/branches/PHP_5_3/Zend/zend_alloc.c 2009-08-09 04:46:30 UTC (rev 286941)
> @@ -709,12 +709,14 @@
> unsigned int n;
> unsigned int index = 0;
>
> - do {
> - n = offset[_size & 15];
> + n = offset[_size & 15];
> + while (n == 4) {
> _size >>= 4;
> index += n;
> - } while (n == 4);
> - return index;
> + n = offset[_size & 15];
> + }
> +
> + return index + n;
> #endif
> }
>
>
>
--
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
twitter: @derickr