RE: [PHP-CVS] svn: /php/php-src/branches/PHP_5_3/Zend/ zend_alloc.c
| From: | Andi Gutmans | Date: | Tue, 11 Aug 2009 14:37:14 +0000 |
| Subject: | RE: [PHP-CVS] svn: /php/php-src/branches/PHP_5_3/Zend/ zend_alloc.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-60098@lists.php.net to get a copy of this message | ||
Sure.
> -----Original Message-----
> From: Derick Rethans [mailto:derick@php.net]
> Sent: Tuesday, August 11, 2009 2:11 AM
> To: Andi Gutmans
> Cc: php-cvs@lists.php.net; gwynne@php.net
> Subject: Re: [PHP-CVS] svn: /php/php-src/branches/PHP_5_3/Zend/
zend_alloc.c
>
> 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