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

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

From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 23 Jun 2011 20:10:26 -0400

On Thu, Jun 23, 2011 at 17:20, <rhuijben_at_apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_wc/wc_db.c Thu Jun 23 21:20:49 2011
> @@ -6068,16 +6068,15 @@ op_delete_txn(void *baton,
>   SVN_ERR(svn_sqlite__step(&have_row, stmt));
>   if (have_row)
>     {
> -      const char *absent_path
> -        = svn_dirent_local_style(svn_sqlite__column_text(stmt, 0, scratch_pool),
> -                                 scratch_pool);
> +      const char *absent_path = svn_sqlite__column_text(stmt, 0, scratch_pool);

You can pass NULL rather than scratch_pool since the value will
immediately be joined with the wcroot's path.

>...

Cheers,
-g
Received on 2011-06-24 02:10:58 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.