Re: [PATCH] svndumpfilter's use of %n
From: Jonathan Gilbert <o2w9gs702_at_sneakemail.com>
Date: 2007-02-24 21:24:54 CET
At 06:01 PM 2/24/2007 +0000, Malcolm Rowe wrote:
Doesn't sprintf() return the number of bytes it wrote into the buffer anyway?
bytes_used = sprintf(buf, "%d", namelen);
..or if one is feeling daring (might not be wise, since in the case of
svn_stringbuf_appendbytes(*strbuf, buf,
Jonathan Gilbert
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.