[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] svndumpfilter's use of %n

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-02-24 23:11:46 CET

On Sat, Feb 24, 2007 at 09:30:31PM +0000, Malcolm Rowe wrote:
> On Sat, Feb 24, 2007 at 02:24:54PM -0600, Jonathan Gilbert wrote:
> > Doesn't sprintf() return the number of bytes it wrote into the buffer anyway?
> >
> > bytes_used = sprintf(buf, "%d", namelen);
> > svn_stringbuf_appendbytes(*strbuf, buf, bytes_used);
> >
>
> Yes, it does. I like that

Done in r23494, thanks.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Sat Feb 24 23:12:09 2007

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.