iliaa Thu Feb 13 12:17:03 2003 EDT
Modified files:
/php4/main spprintf.c
Log:
PAD() macro didn't increase the buffer size resulting in loss of the
padding.
Index: php4/main/spprintf.c
diff -u php4/main/spprintf.c:1.13 php4/main/spprintf.c:1.14
--- php4/main/spprintf.c:1.13 Wed Feb 12 14:38:10 2003
+++ php4/main/spprintf.c Thu Feb 13 12:17:03 2003
@@ -123,6 +123,7 @@
size_t newlen;
\
smart_str_alloc(xbuf, (count), 0); \
memset(xbuf->c + xbuf->len, ch, (count)); \
+ xbuf->len += (count); \
}
\
} while (0)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php