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

Re: svn commit: r11155 - in trunk/subversion: clients/cmdline include libsvn_client libsvn_ra_dav libsvn_ra_local libsvn_ra_svn libsvn_repos mod_dav_svn svnserve tests/clients/cmdline/getopt_tests_data

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-09-28 05:44:18 CEST

Christian Stork wrote:
> On Mon, Sep 27, 2004 at 10:29:45PM -0400, Garrett Rooney wrote:
>
>>Philip Martin wrote:
>>
>>
>>>You risk having values greater than INT_MAX converted into negative
>>>numbers (and the svn_repos_get_log3 documentation doesn't say what
>>>happens if limit is negative :)
>>
>>True. Perhaps an unsigned int would be more appropriate? I can't think
>>of any reasonable behavior for a negative limit.
>
>
> FWIW, a negative limit could refer to the N first log messages instead
> of the N last messages.
>

I just figured to do that you'd reverse the range.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 28 05:44:12 2004

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.