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

Re: AW: svn commit: r1100704 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 10 May 2011 08:58:57 +0100

"Markus Schaber" <m.schaber_at_3s-software.com> writes:

>> Von: Philip Martin [mailto:philip.martin_at_wandisco.com]
>> I don't know if we can use that for bindf as I'm not sure if it would
>> handle our "t" that consumes two arguments, but until we have some
>> sort of automatic checking the fewer format letters the better.
>> While we rely on manual checking the rule "all bound integers are
>> 64bit" is easier to verify.
> Maybe
> http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#Function-Attr
> ibutes helps (scroll down to the "format" section). It seems that
> allows you to apply custom printf like checking.

I don't know to which bit you are referring. We already use the
checking for svn_error_createf where the formatting is printf-like, but
for svn_sqlite__bindf the formatting is sufficiently different from
printf that I can't see how the gcc stuff would work.

Received on 2011-05-10 09:59:46 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.