cvs: php-src /ext/standard formatted_print.c

From: Date: Mon, 16 Feb 2004 17:09:38 +0000
Subject: cvs: php-src /ext/standard formatted_print.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-26242@lists.php.net to get a copy of this message
iliaa Mon Feb 16 12:09:38 2004 EDT Modified files: /php-src/ext/standard formatted_print.c Log: Fixed bug #27278 (*printf() functions treat arguments as if passed by reference). http://cvs.php.net/diff.php/php-src/ext/standard/formatted_print.c?r1=1.73&r2=1.74&ty=u Index: php-src/ext/standard/formatted_print.c diff -u php-src/ext/standard/formatted_print.c:1.73 php-src/ext/standard/formatted_print.c:1.74 --- php-src/ext/standard/formatted_print.c:1.73 Tue Jan 20 23:00:07 2004 +++ php-src/ext/standard/formatted_print.c Mon Feb 16 12:09:37 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: formatted_print.c,v 1.73 2004/01/21 04:00:07 sniper Exp $ */ +/* $Id: formatted_print.c,v 1.74 2004/02/16 17:09:37 iliaa Exp $ */ #include <math.h> /* modf() */ #include "php.h" @@ -626,6 +626,7 @@ *tmp = **(args[argnum]); zval_copy_ctor(tmp); } else { + SEPARATE_ZVAL(args[argnum]); tmp = *(args[argnum]); }

« previous php.cvs (#26242) next »