cvs: php-src(PHP_4_3) /ext/standard formatted_print.c

From: Date: Tue, 11 May 2004 19:51:50 +0000
Subject: cvs: php-src(PHP_4_3) /ext/standard formatted_print.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27318@lists.php.net to get a copy of this message
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); } /* }}} */

« previous php.cvs (#27318) next »