com php-src: Reenable alloca support on ZTS: Zend/zend_portab ility.h
| From: | Nikita Popov | Date: | Fri, 30 Aug 2019 15:24:06 +0000 |
| Subject: | com php-src: Reenable alloca support on ZTS: Zend/zend_portab ility.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108167@lists.php.net to get a copy of this message | ||
Commit: 77a0fa101ed59f05ea07b03adb1cb66962fc45e7
Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 30 Aug 2019 17:24:06 +0200
Parents: 1e4cc5bf0bf9ca58683ac16fd56ad68b69c3893a
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=77a0fa101ed59f05ea07b03adb1cb66962fc45e7
Log:
Reenable alloca support on ZTS
This got disabled due to an incorrect change in a preprocessor condition
in 2104bea5d756dfa40b605a4a2765a3bc4637a76c. It was not supposed to
be disabled.
Changed paths:
M Zend/zend_portability.h
Diff:
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index 8917364..978f25b 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -355,7 +355,7 @@ char *alloca();
#endif
-#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS))
&& !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN)
+#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS)
&& defined(HPUX)) && !defined(DARWIN)
# define ZEND_ALLOCA_MAX_SIZE (32 * 1024)
# define ALLOCA_FLAG(name) \
zend_bool name;