[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/Zend/zend.h branches/PHP_5_3/Zend/zend.h trunk/Zend/zend.h
rasmus Fri, 15 Jan 2010 18:26:53 + Revision: http://svn.php.net/viewvc?view=revision&revision=293590 Log: Fix gcc version check - bug #50771 Bug: http://bugs.php.net/50771 (Open) ZEND_GCC_VERSION is incorrectly defined Changed paths: U php/php-src/branches/PHP_5_2/Zend/zend.h U php/php-src/branches/PHP_5_3/Zend/zend.h U php/php-src/trunk/Zend/zend.h Modified: php/php-src/branches/PHP_5_2/Zend/zend.h === --- php/php-src/branches/PHP_5_2/Zend/zend.h2010-01-15 17:24:07 UTC (rev 293589) +++ php/php-src/branches/PHP_5_2/Zend/zend.h2010-01-15 18:26:53 UTC (rev 293590) @@ -178,7 +178,7 @@ #endif -#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400 +#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 #else # define __restrict__ #endif Modified: php/php-src/branches/PHP_5_3/Zend/zend.h === --- php/php-src/branches/PHP_5_3/Zend/zend.h2010-01-15 17:24:07 UTC (rev 293589) +++ php/php-src/branches/PHP_5_3/Zend/zend.h2010-01-15 18:26:53 UTC (rev 293590) @@ -166,7 +166,7 @@ # define ZEND_ATTRIBUTE_DEPRECATED #endif -#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400 && defined(__i386__) +#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 && defined(__i386__) # define ZEND_FASTCALL __attribute__((fastcall)) #elif defined(_MSC_VER) && defined(_M_IX86) # define ZEND_FASTCALL __fastcall @@ -174,7 +174,7 @@ # define ZEND_FASTCALL #endif -#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400 +#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 #else # define __restrict__ #endif Modified: php/php-src/trunk/Zend/zend.h === --- php/php-src/trunk/Zend/zend.h 2010-01-15 17:24:07 UTC (rev 293589) +++ php/php-src/trunk/Zend/zend.h 2010-01-15 18:26:53 UTC (rev 293590) @@ -167,7 +167,7 @@ # define ZEND_ATTRIBUTE_DEPRECATED #endif -#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400 && defined(__i386__) +#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 && defined(__i386__) # define ZEND_FASTCALL __attribute__((fastcall)) #elif defined(_MSC_VER) && defined(_M_IX86) # define ZEND_FASTCALL __fastcall @@ -175,7 +175,7 @@ # define ZEND_FASTCALL #endif -#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400 +#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 #else # define __restrict__ #endif -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/Zend/zend.h branches/PHP_5_3/Zend/zend.h trunk/Zend/zend.h
already done :) On Sun, Sep 6, 2009 at 6:03 PM, Moriyoshi Koizumi wrote: > Ok, I just figured out now. I'm gonna revert'em shortly > > Moriyoshi > > On Mon, Sep 7, 2009 at 1:02 AM, Moriyoshi Koizumi wrote: >> Hi, >> >> Obviously use_heap has to be set to true whenever the heap is used. >> Doesn't it? The problem only occurs on Mac OS X and I noticed this >> during developing an extension that is just a private one. >> >> Moriyoshi >> >> On Sun, Sep 6, 2009 at 11:55 PM, Pierre Joye wrote: >>> Hi, >>> >>> This change breaks the build, sounds wrong and I did not see any leak >>> in there. Do you have a test case to reproduce the leak you are trying >>> to fix? >>> >>> In the mean time, please revert this change. >>> >>> On Sun, Sep 6, 2009 at 4:43 PM, Moriyoshi Koizumi wrote: moriyoshi Sun, 06 Sep 2009 14:43:09 + Revision: http://svn.php.net/viewvc?view=revision&revision=288109 Log: - Fix leaks. Changed paths: U php/php-src/branches/PHP_5_2/Zend/zend.h U php/php-src/branches/PHP_5_3/Zend/zend.h U php/php-src/trunk/Zend/zend.h Modified: php/php-src/branches/PHP_5_2/Zend/zend.h === --- php/php-src/branches/PHP_5_2/Zend/zend.h 2009-09-06 14:34:21 UTC (rev 288108) +++ php/php-src/branches/PHP_5_2/Zend/zend.h 2009-09-06 14:43:09 UTC (rev 288109) @@ -200,8 +200,8 @@ # define do_alloca(p) emalloc(p) # define free_alloca(p) efree(p) # define ALLOCA_FLAG(name) -# define do_alloca_with_limit(p, use_heap) emalloc(p) -# define free_alloca_with_limit(p, use_heap) efree(p) +# define do_alloca_with_limit(p, use_heap) emalloc(p), use_heap = 1 +# define free_alloca_with_limit(p, use_heap) efree(p), use_heap = 1 #endif #if ZEND_DEBUG Modified: php/php-src/branches/PHP_5_3/Zend/zend.h === --- php/php-src/branches/PHP_5_3/Zend/zend.h 2009-09-06 14:34:21 UTC (rev 288108) +++ php/php-src/branches/PHP_5_3/Zend/zend.h 2009-09-06 14:43:09 UTC (rev 288109) @@ -195,8 +195,8 @@ #else # define ALLOCA_FLAG(name) # define SET_ALLOCA_FLAG(name) -# define do_alloca(p, use_heap) emalloc(p) -# define free_alloca(p, use_heap) efree(p) +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 +# define free_alloca(p, use_heap) efree(p), use_heap = 1 #endif #if ZEND_DEBUG Modified: php/php-src/trunk/Zend/zend.h === --- php/php-src/trunk/Zend/zend.h 2009-09-06 14:34:21 UTC (rev 288108) +++ php/php-src/trunk/Zend/zend.h 2009-09-06 14:43:09 UTC (rev 288109) @@ -196,8 +196,8 @@ #else # define ALLOCA_FLAG(name) # define SET_ALLOCA_FLAG(name) -# define do_alloca(p, use_heap) emalloc(p) -# define free_alloca(p, use_heap) efree(p) +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 +# define free_alloca(p, use_heap) efree(p), use_heap = 1 #endif #if ZEND_DEBUG -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >>> >>> -- >>> Pierre >>> >>> http://blog.thepimp.net | http://www.libgd.org >>> >>> -- >>> PHP CVS Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> > -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/Zend/zend.h branches/PHP_5_3/Zend/zend.h trunk/Zend/zend.h
Ok, I just figured out now. I'm gonna revert'em shortly Moriyoshi On Mon, Sep 7, 2009 at 1:02 AM, Moriyoshi Koizumi wrote: > Hi, > > Obviously use_heap has to be set to true whenever the heap is used. > Doesn't it? The problem only occurs on Mac OS X and I noticed this > during developing an extension that is just a private one. > > Moriyoshi > > On Sun, Sep 6, 2009 at 11:55 PM, Pierre Joye wrote: >> Hi, >> >> This change breaks the build, sounds wrong and I did not see any leak >> in there. Do you have a test case to reproduce the leak you are trying >> to fix? >> >> In the mean time, please revert this change. >> >> On Sun, Sep 6, 2009 at 4:43 PM, Moriyoshi Koizumi wrote: >>> moriyoshi Sun, 06 Sep 2009 14:43:09 + >>> >>> Revision: http://svn.php.net/viewvc?view=revision&revision=288109 >>> >>> Log: >>> - Fix leaks. >>> >>> Changed paths: >>> U php/php-src/branches/PHP_5_2/Zend/zend.h >>> U php/php-src/branches/PHP_5_3/Zend/zend.h >>> U php/php-src/trunk/Zend/zend.h >>> >>> Modified: php/php-src/branches/PHP_5_2/Zend/zend.h >>> === >>> --- php/php-src/branches/PHP_5_2/Zend/zend.h 2009-09-06 14:34:21 UTC >>> (rev 288108) >>> +++ php/php-src/branches/PHP_5_2/Zend/zend.h 2009-09-06 14:43:09 UTC >>> (rev 288109) >>> @@ -200,8 +200,8 @@ >>> # define do_alloca(p) emalloc(p) >>> # define free_alloca(p) efree(p) >>> # define ALLOCA_FLAG(name) >>> -# define do_alloca_with_limit(p, use_heap) emalloc(p) >>> -# define free_alloca_with_limit(p, use_heap) efree(p) >>> +# define do_alloca_with_limit(p, use_heap) emalloc(p), >>> use_heap = 1 >>> +# define free_alloca_with_limit(p, use_heap) efree(p), use_heap = 1 >>> #endif >>> >>> #if ZEND_DEBUG >>> >>> Modified: php/php-src/branches/PHP_5_3/Zend/zend.h >>> === >>> --- php/php-src/branches/PHP_5_3/Zend/zend.h 2009-09-06 14:34:21 UTC >>> (rev 288108) >>> +++ php/php-src/branches/PHP_5_3/Zend/zend.h 2009-09-06 14:43:09 UTC >>> (rev 288109) >>> @@ -195,8 +195,8 @@ >>> #else >>> # define ALLOCA_FLAG(name) >>> # define SET_ALLOCA_FLAG(name) >>> -# define do_alloca(p, use_heap) emalloc(p) >>> -# define free_alloca(p, use_heap) efree(p) >>> +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 >>> +# define free_alloca(p, use_heap) efree(p), use_heap = 1 >>> #endif >>> >>> #if ZEND_DEBUG >>> >>> Modified: php/php-src/trunk/Zend/zend.h >>> === >>> --- php/php-src/trunk/Zend/zend.h 2009-09-06 14:34:21 UTC (rev 288108) >>> +++ php/php-src/trunk/Zend/zend.h 2009-09-06 14:43:09 UTC (rev 288109) >>> @@ -196,8 +196,8 @@ >>> #else >>> # define ALLOCA_FLAG(name) >>> # define SET_ALLOCA_FLAG(name) >>> -# define do_alloca(p, use_heap) emalloc(p) >>> -# define free_alloca(p, use_heap) efree(p) >>> +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 >>> +# define free_alloca(p, use_heap) efree(p), use_heap = 1 >>> #endif >>> >>> #if ZEND_DEBUG >>> >>> >>> -- >>> PHP CVS Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >> >> >> >> -- >> Pierre >> >> http://blog.thepimp.net | http://www.libgd.org >> >> -- >> PHP CVS Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/Zend/zend.h branches/PHP_5_3/Zend/zend.h trunk/Zend/zend.h
Hi, Obviously use_heap has to be set to true whenever the heap is used. Doesn't it? The problem only occurs on Mac OS X and I noticed this during developing an extension that is just a private one. Moriyoshi On Sun, Sep 6, 2009 at 11:55 PM, Pierre Joye wrote: > Hi, > > This change breaks the build, sounds wrong and I did not see any leak > in there. Do you have a test case to reproduce the leak you are trying > to fix? > > In the mean time, please revert this change. > > On Sun, Sep 6, 2009 at 4:43 PM, Moriyoshi Koizumi wrote: >> moriyoshi Sun, 06 Sep 2009 14:43:09 + >> >> Revision: http://svn.php.net/viewvc?view=revision&revision=288109 >> >> Log: >> - Fix leaks. >> >> Changed paths: >> U php/php-src/branches/PHP_5_2/Zend/zend.h >> U php/php-src/branches/PHP_5_3/Zend/zend.h >> U php/php-src/trunk/Zend/zend.h >> >> Modified: php/php-src/branches/PHP_5_2/Zend/zend.h >> === >> --- php/php-src/branches/PHP_5_2/Zend/zend.h 2009-09-06 14:34:21 UTC (rev >> 288108) >> +++ php/php-src/branches/PHP_5_2/Zend/zend.h 2009-09-06 14:43:09 UTC (rev >> 288109) >> @@ -200,8 +200,8 @@ >> # define do_alloca(p) emalloc(p) >> # define free_alloca(p) efree(p) >> # define ALLOCA_FLAG(name) >> -# define do_alloca_with_limit(p, use_heap) emalloc(p) >> -# define free_alloca_with_limit(p, use_heap) efree(p) >> +# define do_alloca_with_limit(p, use_heap) emalloc(p), use_heap >> = 1 >> +# define free_alloca_with_limit(p, use_heap) efree(p), use_heap = 1 >> #endif >> >> #if ZEND_DEBUG >> >> Modified: php/php-src/branches/PHP_5_3/Zend/zend.h >> === >> --- php/php-src/branches/PHP_5_3/Zend/zend.h 2009-09-06 14:34:21 UTC (rev >> 288108) >> +++ php/php-src/branches/PHP_5_3/Zend/zend.h 2009-09-06 14:43:09 UTC (rev >> 288109) >> @@ -195,8 +195,8 @@ >> #else >> # define ALLOCA_FLAG(name) >> # define SET_ALLOCA_FLAG(name) >> -# define do_alloca(p, use_heap) emalloc(p) >> -# define free_alloca(p, use_heap) efree(p) >> +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 >> +# define free_alloca(p, use_heap) efree(p), use_heap = 1 >> #endif >> >> #if ZEND_DEBUG >> >> Modified: php/php-src/trunk/Zend/zend.h >> === >> --- php/php-src/trunk/Zend/zend.h 2009-09-06 14:34:21 UTC (rev 288108) >> +++ php/php-src/trunk/Zend/zend.h 2009-09-06 14:43:09 UTC (rev 288109) >> @@ -196,8 +196,8 @@ >> #else >> # define ALLOCA_FLAG(name) >> # define SET_ALLOCA_FLAG(name) >> -# define do_alloca(p, use_heap) emalloc(p) >> -# define free_alloca(p, use_heap) efree(p) >> +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 >> +# define free_alloca(p, use_heap) efree(p), use_heap = 1 >> #endif >> >> #if ZEND_DEBUG >> >> >> -- >> PHP CVS Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > > > -- > Pierre > > http://blog.thepimp.net | http://www.libgd.org > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/Zend/zend.h branches/PHP_5_3/Zend/zend.h trunk/Zend/zend.h
pajoye Sun, 06 Sep 2009 15:56:58 + Revision: http://svn.php.net/viewvc?view=revision&revision=288110 Log: - revert last commit, breaks the build and needs test case(s) Changed paths: U php/php-src/branches/PHP_5_2/Zend/zend.h U php/php-src/branches/PHP_5_3/Zend/zend.h U php/php-src/trunk/Zend/zend.h Modified: php/php-src/branches/PHP_5_2/Zend/zend.h === --- php/php-src/branches/PHP_5_2/Zend/zend.h2009-09-06 14:43:09 UTC (rev 288109) +++ php/php-src/branches/PHP_5_2/Zend/zend.h2009-09-06 15:56:58 UTC (rev 288110) @@ -200,8 +200,8 @@ # define do_alloca(p) emalloc(p) # define free_alloca(p)efree(p) # define ALLOCA_FLAG(name) -# define do_alloca_with_limit(p, use_heap) emalloc(p), use_heap = 1 -# define free_alloca_with_limit(p, use_heap) efree(p), use_heap = 1 +# define do_alloca_with_limit(p, use_heap) emalloc(p) +# define free_alloca_with_limit(p, use_heap) efree(p) #endif #if ZEND_DEBUG Modified: php/php-src/branches/PHP_5_3/Zend/zend.h === --- php/php-src/branches/PHP_5_3/Zend/zend.h2009-09-06 14:43:09 UTC (rev 288109) +++ php/php-src/branches/PHP_5_3/Zend/zend.h2009-09-06 15:56:58 UTC (rev 288110) @@ -195,8 +195,8 @@ #else # define ALLOCA_FLAG(name) # define SET_ALLOCA_FLAG(name) -# define do_alloca(p, use_heap)emalloc(p), use_heap = 1 -# define free_alloca(p, use_heap) efree(p), use_heap = 1 +# define do_alloca(p, use_heap)emalloc(p) +# define free_alloca(p, use_heap) efree(p) #endif #if ZEND_DEBUG Modified: php/php-src/trunk/Zend/zend.h === --- php/php-src/trunk/Zend/zend.h 2009-09-06 14:43:09 UTC (rev 288109) +++ php/php-src/trunk/Zend/zend.h 2009-09-06 15:56:58 UTC (rev 288110) @@ -196,8 +196,8 @@ #else # define ALLOCA_FLAG(name) # define SET_ALLOCA_FLAG(name) -# define do_alloca(p, use_heap)emalloc(p), use_heap = 1 -# define free_alloca(p, use_heap) efree(p), use_heap = 1 +# define do_alloca(p, use_heap)emalloc(p) +# define free_alloca(p, use_heap) efree(p) #endif #if ZEND_DEBUG -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/Zend/zend.h branches/PHP_5_3/Zend/zend.h trunk/Zend/zend.h
Hi, This change breaks the build, sounds wrong and I did not see any leak in there. Do you have a test case to reproduce the leak you are trying to fix? In the mean time, please revert this change. On Sun, Sep 6, 2009 at 4:43 PM, Moriyoshi Koizumi wrote: > moriyoshi Sun, 06 Sep 2009 14:43:09 + > > Revision: http://svn.php.net/viewvc?view=revision&revision=288109 > > Log: > - Fix leaks. > > Changed paths: > U php/php-src/branches/PHP_5_2/Zend/zend.h > U php/php-src/branches/PHP_5_3/Zend/zend.h > U php/php-src/trunk/Zend/zend.h > > Modified: php/php-src/branches/PHP_5_2/Zend/zend.h > === > --- php/php-src/branches/PHP_5_2/Zend/zend.h 2009-09-06 14:34:21 UTC (rev > 288108) > +++ php/php-src/branches/PHP_5_2/Zend/zend.h 2009-09-06 14:43:09 UTC (rev > 288109) > @@ -200,8 +200,8 @@ > # define do_alloca(p) emalloc(p) > # define free_alloca(p) efree(p) > # define ALLOCA_FLAG(name) > -# define do_alloca_with_limit(p, use_heap) emalloc(p) > -# define free_alloca_with_limit(p, use_heap) efree(p) > +# define do_alloca_with_limit(p, use_heap) emalloc(p), use_heap > = 1 > +# define free_alloca_with_limit(p, use_heap) efree(p), use_heap = 1 > #endif > > #if ZEND_DEBUG > > Modified: php/php-src/branches/PHP_5_3/Zend/zend.h > === > --- php/php-src/branches/PHP_5_3/Zend/zend.h 2009-09-06 14:34:21 UTC (rev > 288108) > +++ php/php-src/branches/PHP_5_3/Zend/zend.h 2009-09-06 14:43:09 UTC (rev > 288109) > @@ -195,8 +195,8 @@ > #else > # define ALLOCA_FLAG(name) > # define SET_ALLOCA_FLAG(name) > -# define do_alloca(p, use_heap) emalloc(p) > -# define free_alloca(p, use_heap) efree(p) > +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 > +# define free_alloca(p, use_heap) efree(p), use_heap = 1 > #endif > > #if ZEND_DEBUG > > Modified: php/php-src/trunk/Zend/zend.h > === > --- php/php-src/trunk/Zend/zend.h 2009-09-06 14:34:21 UTC (rev 288108) > +++ php/php-src/trunk/Zend/zend.h 2009-09-06 14:43:09 UTC (rev 288109) > @@ -196,8 +196,8 @@ > #else > # define ALLOCA_FLAG(name) > # define SET_ALLOCA_FLAG(name) > -# define do_alloca(p, use_heap) emalloc(p) > -# define free_alloca(p, use_heap) efree(p) > +# define do_alloca(p, use_heap) emalloc(p), use_heap = 1 > +# define free_alloca(p, use_heap) efree(p), use_heap = 1 > #endif > > #if ZEND_DEBUG > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] svn: /php/php-src/ branches/PHP_5_2/Zend/zend.h branches/PHP_5_3/Zend/zend.h trunk/Zend/zend.h
moriyoshiSun, 06 Sep 2009 14:43:09 + Revision: http://svn.php.net/viewvc?view=revision&revision=288109 Log: - Fix leaks. Changed paths: U php/php-src/branches/PHP_5_2/Zend/zend.h U php/php-src/branches/PHP_5_3/Zend/zend.h U php/php-src/trunk/Zend/zend.h Modified: php/php-src/branches/PHP_5_2/Zend/zend.h === --- php/php-src/branches/PHP_5_2/Zend/zend.h2009-09-06 14:34:21 UTC (rev 288108) +++ php/php-src/branches/PHP_5_2/Zend/zend.h2009-09-06 14:43:09 UTC (rev 288109) @@ -200,8 +200,8 @@ # define do_alloca(p) emalloc(p) # define free_alloca(p)efree(p) # define ALLOCA_FLAG(name) -# define do_alloca_with_limit(p, use_heap) emalloc(p) -# define free_alloca_with_limit(p, use_heap) efree(p) +# define do_alloca_with_limit(p, use_heap) emalloc(p), use_heap = 1 +# define free_alloca_with_limit(p, use_heap) efree(p), use_heap = 1 #endif #if ZEND_DEBUG Modified: php/php-src/branches/PHP_5_3/Zend/zend.h === --- php/php-src/branches/PHP_5_3/Zend/zend.h2009-09-06 14:34:21 UTC (rev 288108) +++ php/php-src/branches/PHP_5_3/Zend/zend.h2009-09-06 14:43:09 UTC (rev 288109) @@ -195,8 +195,8 @@ #else # define ALLOCA_FLAG(name) # define SET_ALLOCA_FLAG(name) -# define do_alloca(p, use_heap)emalloc(p) -# define free_alloca(p, use_heap) efree(p) +# define do_alloca(p, use_heap)emalloc(p), use_heap = 1 +# define free_alloca(p, use_heap) efree(p), use_heap = 1 #endif #if ZEND_DEBUG Modified: php/php-src/trunk/Zend/zend.h === --- php/php-src/trunk/Zend/zend.h 2009-09-06 14:34:21 UTC (rev 288108) +++ php/php-src/trunk/Zend/zend.h 2009-09-06 14:43:09 UTC (rev 288109) @@ -196,8 +196,8 @@ #else # define ALLOCA_FLAG(name) # define SET_ALLOCA_FLAG(name) -# define do_alloca(p, use_heap)emalloc(p) -# define free_alloca(p, use_heap) efree(p) +# define do_alloca(p, use_heap)emalloc(p), use_heap = 1 +# define free_alloca(p, use_heap) efree(p), use_heap = 1 #endif #if ZEND_DEBUG -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php