tony2001 Thu May 10 09:53:28 2007 UTC Modified files: /php-src/ext/bcmath bcmath.c Log: bcmath.scale must be greater or equal to zero looks like negative value cannot cause any problems, but it's still invalid http://cvs.php.net/viewvc.cgi/php-src/ext/bcmath/bcmath.c?r1=1.70&r2=1.71&diff_format=u Index: php-src/ext/bcmath/bcmath.c diff -u php-src/ext/bcmath/bcmath.c:1.70 php-src/ext/bcmath/bcmath.c:1.71 --- php-src/ext/bcmath/bcmath.c:1.70 Mon Jan 1 09:29:21 2007 +++ php-src/ext/bcmath/bcmath.c Thu May 10 09:53:28 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: bcmath.c,v 1.70 2007/01/01 09:29:21 sebastian Exp $ */ +/* $Id: bcmath.c,v 1.71 2007/05/10 09:53:28 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