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

Re: svn commit: r960858 - /subversion/trunk/subversion/libsvn_client/patch.c

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 6 Jul 2010 10:18:44 -0400

On Tue, Jul 6, 2010 at 05:57, <rhuijben_at_apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_client/patch.c Tue Jul  6 09:57:02 2010
>...
> +  if (keywords_val)
> +  {
> +      svn_revnum_t changed_rev;
> +      apr_time_t changed_date;
> +      const char *rev_str;
> +      const char *author;
> +      const char *url;
> +
> +      SVN_ERR(svn_wc__node_get_changed_info(&changed_rev,
> +                                          &changed_date,
> +                                          &author, wc_ctx,
> +                                          local_abspath,
> +                                          scratch_pool,
> +                                          scratch_pool));
> +      rev_str = apr_psprintf(scratch_pool, "%"SVN_REVNUM_T_FMT,
> +                              changed_rev);

I know this was here, and you just moved the code, but...
SVN_REVNUM_T_FMT is deprecated. Just use %ld.

>...

Cheers,
-g
Received on 2010-07-06 16:19:23 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.