cvs: php4(PHP_4_3) /ext/standard formatted_print.c
| From: | Moriyoshi Koizumi | Date: | Fri, 30 May 2003 13:50:09 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard formatted_print.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21360@lists.php.net to get a copy of this message | ||
moriyoshi Fri May 30 09:50:09 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard formatted_print.c
Log:
MFH(r-1.67): fixed bug #23894 (sprintf() decimal specifiers problem)
Index: php4/ext/standard/formatted_print.c
diff -u php4/ext/standard/formatted_print.c:1.59.2.4 php4/ext/standard/formatted_print.c:1.59.2.5
--- php4/ext/standard/formatted_print.c:1.59.2.4 Tue Apr 22 22:37:29 2003
+++ php4/ext/standard/formatted_print.c Fri May 30 09:50:09 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: formatted_print.c,v 1.59.2.4 2003/04/23 02:37:29 iliaa Exp $ */
+/* $Id: formatted_print.c,v 1.59.2.5 2003/05/30 13:50:09 moriyoshi Exp $ */
#include <math.h> /* modf() */
#include "php.h"
@@ -185,6 +185,7 @@
(*buffer)[(*pos)++] = '-';
add++;
len--;
+ copy_len--;
}
while (npad-- > 0) {
(*buffer)[(*pos)++] = padding;