dmitry Thu Sep 21 06:46:01 2006 UTC
Modified files:
/php-src/ext/bcmath bcmath.c
Log:
ZTS fix
http://cvs.php.net/viewvc.cgi/php-src/ext/bcmath/bcmath.c?r1=1.67&r2=1.68&diff_format=u
Index: php-src/ext/bcmath/bcmath.c
diff -u php-src/ext/bcmath/bcmath.c:1.67 php-src/ext/bcmath/bcmath.c:1.68
--- php-src/ext/bcmath/bcmath.c:1.67 Tue Sep 19 23:27:03 2006
+++ php-src/ext/bcmath/bcmath.c Thu Sep 21 06:46:00 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: bcmath.c,v 1.67 2006/09/19 23:27:03 pollita Exp $ */
+/* $Id: bcmath.c,v 1.68 2006/09/21 06:46:00 dmitry Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -319,7 +319,7 @@
php_str2num(&first, left TSRMLS_CC);
php_str2num(&second, right TSRMLS_CC);
- bc_multiply(first, second, &result, scale);
+ bc_multiply(first, second, &result, scale TSRMLS_CC);
if (result->n_scale > scale) {
result->n_scale = scale;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php