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

Re: svn commit: r993183 - in /subversion/trunk/subversion: include/ libsvn_diff/ libsvn_ra_serf/ libsvn_subr/ mod_dav_svn/reports/

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 15 Sep 2010 16:29:26 +0100

Stefan Sperling <stsp_at_elego.de> writes:

> The translation issues is why I didn't use the APR_[U]INT64_T_FMT.
> It's either using it and make life hard for translators, or have these
> warnings... neither solution is perfect. Or is there a better solution?

Have two format strings and pick the right one based on sizeof(long).
It's tricky to select at compile time but it could be done at run-time
as this string only occurs in error messages and so is not performance
critical. Or it could be done at configure time, borrowing code from
APR, or we could get APR to provide APR_LONG_IS[32|64]BITS.

-- 
Philip
Received on 2010-09-15 17:30:09 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.