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

Re: svn commit: r1101102 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_client/patch.c svn/notify.c

From: Greg Stein <gstein_at_gmail.com>
Date: Mon, 9 May 2011 13:58:14 -0400

On May 9, 2011 12:36 PM, <stefan2_at_apache.org> wrote:
>
> Author: stefan2
> Date: Mon May 9 16:36:28 2011
> New Revision: 1101102
>
> URL: http://svn.apache.org/viewvc?rev=1101102&view=rev
> Log:
> Fix conversion and signedness comparison warnings concerning the "fuzz"
> factor. That value is non-negative, thus we can use the same type as for
> the values that we combine or compare it with.
>
> * subversion/include/svn_wc.h
> (svn_wc_notify_t): make hunk_fuzz a "number of lines"
> * subversion/libsvn_client/patch.c
> (hunk_info_t, match_hunk, scan_for_match, get_hunk_info,
apply_one_patch):
> make all fuzz values a "number of lines"
> * subversion/svn/notify.c
> (notify): adapt format strings

Isn't this kinda like using a time type to hold duration? :-P

Cheers,
-g
Received on 2011-05-09 19:58:44 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.