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;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to