iliaa           Tue May 11 15:51:50 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/ext/standard       formatted_print.c 
  Log:
  MFH: Make vprintf() and printf() return the length of the string printed.
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/formatted_print.c?r1=1.59.2.8&r2=1.59.2.9&ty=u
Index: php-src/ext/standard/formatted_print.c
diff -u php-src/ext/standard/formatted_print.c:1.59.2.8 
php-src/ext/standard/formatted_print.c:1.59.2.9
--- php-src/ext/standard/formatted_print.c:1.59.2.8     Mon Feb 16 12:09:52 2004
+++ php-src/ext/standard/formatted_print.c      Tue May 11 15:51:50 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: formatted_print.c,v 1.59.2.8 2004/02/16 17:09:52 iliaa Exp $ */
+/* $Id: formatted_print.c,v 1.59.2.9 2004/05/11 19:51:50 iliaa Exp $ */
 
 #include <math.h>                              /* modf() */
 #include "php.h"
@@ -758,6 +758,7 @@
        }
        PHPWRITE(result, len);
        efree(result);
+       RETURN_LONG(len);
 }
 /* }}} */
 
@@ -773,6 +774,7 @@
        }
        PHPWRITE(result, len);
        efree(result);
+       RETURN_LONG(len);
 }
 /* }}} */
 

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

Reply via email to