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

RE: svn commit: r917950 - /subversion/trunk/subversion/libsvn_client/merge.c

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 2 Mar 2010 12:39:48 +0100

> -----Original Message-----
> From: Stefan Sperling [mailto:stsp_at_elego.de]
> Sent: dinsdag 2 maart 2010 12:34
> To: dev_at_subversion.apache.org
> Subject: Re: svn commit: r917950 -
> /subversion/trunk/subversion/libsvn_client/merge.c
>
> On Tue, Mar 02, 2010 at 10:46:47AM -0000, philip_at_apache.org wrote:
> > Author: philip
> > Date: Tue Mar 2 10:46:46 2010
> > New Revision: 917950
> >
> > URL: http://svn.apache.org/viewvc?rev=917950&view=rev
> > Log:
> > * subversion/libsvn_client/merge.c (log_find_operative_revs): Use %ld
> > rather than %d to format svn_revnum_t.
>
> What about using this?
> subversion/include/svn_types.h:#define SVN_REVNUM_T_FMT "ld"

/** Originally intended to be used in printf()-style functions to format
 * revision numbers. Deprecated due to incompatibilities with language
 * translation tools (e.g. gettext).
 *
 * New code should use a bare "%ld" format specifier for formatting revision
 * numbers.
 *
 * @deprecated Provided for backward compatibility with the 1.0 API.
 */
#define SVN_REVNUM_T_FMT "ld"

        Bert
Received on 2010-03-02 12:40:28 CET

This is an archived mail posted to the Subversion Dev mailing list.