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

Re: A new look at the apr_off_t problem

From: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2004-01-24 19:19:28 CET

On Sat, Jan 24, 2004 at 12:37:34AM +0100, Branko ??ibej wrote:
> Greg Hudson wrote:
> > 1. The blame callback uses an apr_off_t for the line number. It is
> > easy to change this to use an apr_uint64_t instead. (The current
> > #1710 patch does this.)
> >
> >
> Why does it use a file-offset type for a line-number parameter? That's
> utter nonsense. It should simply use apr_uint32_t; after all, "svn
> blame" (as currently implemented) is only useful for text files, and I'l
> like to see the genius who can keep track of more than 4 billion lines
> of text. I don't think even a Greek demi-god hero could handle that.

It uses exactly the same type required by the libsvn_diff interface,
and for exactly that reason.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 24 19:20:13 2004

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