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

Re: Why is svn_revnum_t a long int?

From: Ben Reser <ben_at_reser.org>
Date: 2004-01-16 07:17:18 CET

On Thu, Jan 15, 2004 at 09:57:32PM -0800, Ben Reser wrote:
> a) Is it possible for there to be a negative revision? If not why not
> use an unsigned type?

Never mind on this one. An invalid revnum is -1.

> b) By using a type which is not of a fixed length between platforms
> aren't we creating an issue where on platform will support a given
> revision number while another's client won't?
>
> I'm think it should be an apr_uint32_t.

So shouldn't it be apr_int32_t or apr_int64_t?

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 16 07:17:53 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.