svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/bcmath/php_bcmath.h branches/PHP_5_3/NEWS branches/PHP_5_3/ext/bcmath/php_bcmath.h
trunk/ext/bcmath/php_bcmath.h
| From: | Jani Taskinen | Date: | Thu, 20 Aug 2009 11:19:20 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/bcmath/php_bcmath.h branches/PHP_5_3/NEWS branches/PHP_5_3/ext/bcmath/php_bcmath.h trunk/ext/bcmath/php_bcmath.h |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60191@lists.php.net to get a copy of this message | ||
jani Thu, 20 Aug 2009 11:19:20 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287499
Log:
- Fixed bug #49289 (bcmath module does not compile with phpize configure).
Bug: http://bugs.php.net/49289 (Assigned) bcmath module
doesn't compile with phpize configure
Changed paths:
U php/php-src/branches/PHP_5_2/NEWS
U php/php-src/branches/PHP_5_2/ext/bcmath/php_bcmath.h
U php/php-src/branches/PHP_5_3/NEWS
U php/php-src/branches/PHP_5_3/ext/bcmath/php_bcmath.h
U php/php-src/trunk/ext/bcmath/php_bcmath.h
Modified: php/php-src/branches/PHP_5_2/NEWS
===================================================================
--- php/php-src/branches/PHP_5_2/NEWS 2009-08-20 11:17:31 UTC (rev 287498)
+++ php/php-src/branches/PHP_5_2/NEWS 2009-08-20 11:19:20 UTC (rev 287499)
@@ -3,6 +3,8 @@
?? ??? 2009, PHP 5.2.11
- Added missing sanity checks around exif processing (Ilia)
+- Fixed bug #49289 (bcmath module doesn't compile with phpize configure).
+ (Jani)
- Fixed bug #49269 (Ternary operator fails on Iterator object when used inside
foreach declaration). (Etienne, Dmitry)
- Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani)
Modified: php/php-src/branches/PHP_5_2/ext/bcmath/php_bcmath.h
===================================================================
--- php/php-src/branches/PHP_5_2/ext/bcmath/php_bcmath.h 2009-08-20 11:17:31 UTC (rev 287498)
+++ php/php-src/branches/PHP_5_2/ext/bcmath/php_bcmath.h 2009-08-20 11:19:20 UTC (rev 287499)
@@ -21,8 +21,6 @@
#ifndef PHP_BCMATH_H
#define PHP_BCMATH_H
-#if HAVE_BCMATH
-
#include "libbcmath/src/bcmath.h"
extern zend_module_entry bcmath_module_entry;
@@ -50,18 +48,12 @@
long bc_precision;
ZEND_END_MODULE_GLOBALS(bcmath)
-#if ZTS
-#define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v)
+#ifdef ZTS
+# define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v)
#else
-#define BCG(v) (bcmath_globals.v)
+# define BCG(v) (bcmath_globals.v)
#endif
ZEND_EXTERN_MODULE_GLOBALS(bcmath)
-#else
-
-#define phpext_bcmath_ptr NULL
-
-#endif
-
#endif /* PHP_BCMATH_H */
Modified: php/php-src/branches/PHP_5_3/NEWS
===================================================================
--- php/php-src/branches/PHP_5_3/NEWS 2009-08-20 11:17:31 UTC (rev 287498)
+++ php/php-src/branches/PHP_5_3/NEWS 2009-08-20 11:19:20 UTC (rev 287499)
@@ -1,7 +1,6 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2009, PHP 5.3.1
-
- Upgraded bundled sqlite to version 3.6.17. (Scott)
- Added missing sanity checks around exif processing. (Ilia)
@@ -17,12 +16,14 @@
- Fixed spl_autoload_unregister/spl_autoload_functions wrt. Closures and
Functors. (Christian Seiler)
-- Fixed open_basedir circumvention for mail.log. (Maksymilian Arciemowicz,
- Stas)
+- Fixed open_basedir circumvention for "mail.log" ini directive.
+ (Maksymilian Arciemowicz, Stas)
- Fixed signature generation/validation for zip archives in ext/phar. (Greg)
- Fixed memory leak in stream_is_local(). (Felipe, Tony)
- Fixed BC break in mime_content_type(), removes the content encoding. (Scott)
+- Fixed bug #49289 (bcmath module doesn't compile with phpize configure).
+ (Jani)
- Fixed bug #49269 (Ternary operator fails on Iterator object when used inside
foreach declaration). (Etienne, Dmitry)
- Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani)
Modified: php/php-src/branches/PHP_5_3/ext/bcmath/php_bcmath.h
===================================================================
--- php/php-src/branches/PHP_5_3/ext/bcmath/php_bcmath.h 2009-08-20 11:17:31 UTC (rev 287498)
+++ php/php-src/branches/PHP_5_3/ext/bcmath/php_bcmath.h 2009-08-20 11:19:20 UTC (rev 287499)
@@ -21,8 +21,6 @@
#ifndef PHP_BCMATH_H
#define PHP_BCMATH_H
-#if HAVE_BCMATH
-
#include "libbcmath/src/bcmath.h"
extern zend_module_entry bcmath_module_entry;
@@ -50,18 +48,12 @@
long bc_precision;
ZEND_END_MODULE_GLOBALS(bcmath)
-#if ZTS
-#define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v)
+#ifdef ZTS
+# define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v)
#else
-#define BCG(v) (bcmath_globals.v)
+# define BCG(v) (bcmath_globals.v)
#endif
ZEND_EXTERN_MODULE_GLOBALS(bcmath)
-#else
-
-#define phpext_bcmath_ptr NULL
-
-#endif
-
#endif /* PHP_BCMATH_H */
Modified: php/php-src/trunk/ext/bcmath/php_bcmath.h
===================================================================
--- php/php-src/trunk/ext/bcmath/php_bcmath.h 2009-08-20 11:17:31 UTC (rev 287498)
+++ php/php-src/trunk/ext/bcmath/php_bcmath.h 2009-08-20 11:19:20 UTC (rev 287499)
@@ -21,8 +21,6 @@
#ifndef PHP_BCMATH_H
#define PHP_BCMATH_H
-#if HAVE_BCMATH
-
#include "libbcmath/src/bcmath.h"
extern zend_module_entry bcmath_module_entry;
@@ -50,18 +48,12 @@
long bc_precision;
ZEND_END_MODULE_GLOBALS(bcmath)
-#if ZTS
-#define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v)
+#ifdef ZTS
+# define BCG(v) TSRMG(bcmath_globals_id, zend_bcmath_globals *, v)
#else
-#define BCG(v) (bcmath_globals.v)
+# define BCG(v) (bcmath_globals.v)
#endif
ZEND_EXTERN_MODULE_GLOBALS(bcmath)
-#else
-
-#define phpext_bcmath_ptr NULL
-
-#endif
-
#endif /* PHP_BCMATH_H */