derick Tue Aug 23 02:49:01 2005 EDT
Modified files:
/php-src/main spprintf.c
Log:
- Fixed another little buglet in the spprintf() formatters.
http://cvs.php.net/diff.php/php-src/main/spprintf.c?r1=1.32&r2=1.33&ty=u
Index: php-src/main/spprintf.c
diff -u php-src/main/spprintf.c:1.32 php-src/main/spprintf.c:1.33
--- php-src/main/spprintf.c:1.32 Tue Aug 16 14:02:41 2005
+++ php-src/main/spprintf.c Tue Aug 23 02:48:55 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spprintf.c,v 1.32 2005/08/16 18:02:41 derick Exp $ */
+/* $Id: spprintf.c,v 1.33 2005/08/23 06:48:55 derick Exp $ */
/* This is the spprintf implementation.
* It has emerged from apache snprintf. See original header:
@@ -133,6 +133,7 @@
smart_str_alloc(xbuf, (sz), 0); \
if (s_unicode) {
\
memcpy(xbuf->c + xbuf->len, s, (sz)); \
+ xbuf->len += sz;
\
} else {
\
p = (s_len);
\
while(p--) { \
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php