tony2001 Thu May 10 09:53:37 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/bcmath bcmath.c
Log:
MFH: bcmath.scale must be greater or equal to zero
http://cvs.php.net/viewvc.cgi/php-src/ext/bcmath/bcmath.c?r1=1.62.2.2.2.5&r2=1.62.2.2.2.6&diff_format=u
Index: php-src/ext/bcmath/bcmath.c
diff -u php-src/ext/bcmath/bcmath.c:1.62.2.2.2.5
php-src/ext/bcmath/bcmath.c:1.62.2.2.2.6
--- php-src/ext/bcmath/bcmath.c:1.62.2.2.2.5 Mon Jan 1 09:35:48 2007
+++ php-src/ext/bcmath/bcmath.c Thu May 10 09:53:36 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: bcmath.c,v 1.62.2.2.2.5 2007/01/01 09:35:48 sebastian Exp $ */
+/* $Id: bcmath.c,v 1.62.2.2.2.6 2007/05/10 09:53:36 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -142,7 +142,7 @@
/* {{{ PHP_INI */
PHP_INI_BEGIN()
- STD_PHP_INI_ENTRY("bcmath.scale", "0", PHP_INI_ALL, OnUpdateLong,
bc_precision, zend_bcmath_globals, bcmath_globals)
+ STD_PHP_INI_ENTRY("bcmath.scale", "0", PHP_INI_ALL, OnUpdateLongGEZero,
bc_precision, zend_bcmath_globals, bcmath_globals)
PHP_INI_END()
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php