cvs: php4 /main spprintf.c

From: Date: Thu, 13 Feb 2003 17:17:03 +0000
Subject: cvs: php4 /main spprintf.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18782@lists.php.net to get a copy of this message
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)

« previous php.cvs (#18782) next »