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

Re: [PATCH] Deprecated function called in subversion/libsvn_wc/info.c svn_wc_info_dup

From: Ben Reser <ben_at_reser.org>
Date: Wed, 21 Aug 2013 10:18:01 -0700

On 8/21/13 10:02 AM, Gabriela Gibson wrote:
> [[[
> Update call to deprecated function.
> * subversion/libsvn_wc/info.c:
> (svn_wc_info_dup): Update call to deprecated function and type to
> current versions.
> ]]]
> :

Can't do that. svn_wc_info_dup() duplicates a svn_wc_info_t struct in
which the conflicts member is described as an array of
svn_wc_conflict_description2_t pointers. svn_wc_info_t needs to be
revved and then svn_wc_info_dup would be revved as well.

The only reason this doesn't blow up on you is that the array code
doesn't care what type of pointer it gets and svn_wc_info_dup() is only
used by svn_client_info2_dup() which we don't use in our code.
Received on 2013-08-21 19:18:39 CEST

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