iliaa Fri Dec 22 15:29:41 2006 UTC
Added files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/strings bug36392.phpt
Modified files:
/php-src NEWS
/php-src/ext/standard formatted_print.c
Log:
Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.452&r2=1.2027.2.547.2.453&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.452 php-src/NEWS:1.2027.2.547.2.453
--- php-src/NEWS:1.2027.2.547.2.452 Fri Dec 22 15:21:34 2006
+++ php-src/NEWS Fri Dec 22 15:29:41 2006
@@ -16,7 +16,6 @@
__inet_pton() and inet_ntop() was named __inet_ntop(). (Hannes)
- Fixed the validate email filter so that the letter "v" can also be used in
the user part of the email address. (Derick)
-
- Fixed bug #39903 (Notice message when executing __halt_compiler() more than
once). (Tony)
- Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). (Ilia)
@@ -31,6 +30,8 @@
- Fixed bug #39815 (SOAP double encoding is not locale-independent). (Dmitry)
- Fixed bug #39685 (iconv() - undefined function). (Hannes)
- Fixed bug #38852 (XML-RPC Breaks iconv). (Hannes)
+- Fixed bug #36392 (wrong number of decimal digits with %e specifier in
+ sprintf). (Matt,Ilia)
14 Dec 2006, PHP 5.2.1RC1
- Added a meta tag to phpinfo() output to prevent search engines from indexing
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/formatted_print.c?r1=1.82.2.1.2.9&r2=1.82.2.1.2.10&diff_format=u
Index: php-src/ext/standard/formatted_print.c
diff -u php-src/ext/standard/formatted_print.c:1.82.2.1.2.9
php-src/ext/standard/formatted_print.c:1.82.2.1.2.10
--- php-src/ext/standard/formatted_print.c:1.82.2.1.2.9 Tue Dec 19 13:13:29 2006
+++ php-src/ext/standard/formatted_print.c Fri Dec 22 15:29:41 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: formatted_print.c,v 1.82.2.1.2.9 2006/12/19 13:13:29 dmitry Exp $ */
+/* $Id: formatted_print.c,v 1.82.2.1.2.10 2006/12/22 15:29:41 iliaa Exp $ */
#include <math.h> /* modf() */
#include "php.h"
@@ -229,9 +229,6 @@
switch (fmt) {
case 'e':
- if (precision) {
- precision--;
- }
case 'E':
case 'f':
case 'F':
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/bug36392.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/strings/bug36392.phpt
+++ php-src/ext/standard/tests/strings/bug36392.phpt
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php