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

Re: svn commit: r999785 - /subversion/trunk/subversion/libsvn_subr/svn_string.c

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Wed, 22 Sep 2010 13:07:53 +0100

Philip Martin wrote:
> Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:
>
> > Philip Martin wrote on Wed, Sep 22, 2010 at 11:47:19 +0100:
> >> Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:
> >> > minval is an apr_uint64_t, so shouldn't the format string use APR_UINT64_FMT?
> >>
> >> See this thread
> >>
> >> http://svn.haxx.se/dev/archive-2010-09/0295.shtml
> >>
> >
> > and subversion/libsvn_fs_fs/rep-cache.c:153
>
> Yes, that would be another way to do it. I think it will defeat the
> compiler's compile-time printf parameter checking, only the inner
> printf would get checked.

It might be worth adding a pool parameter so that any of the
print-into-a-substing variants can be used.

- Julian
Received on 2010-09-22 14:08:33 CEST

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.