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

Re: A question on version numbers

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-09-24 18:57:41 CEST

<kfogel@collab.net> writes:
> Internally, revision numbers are a typedef to 'long int'. That means
> means in the very *worst* case you're safe for about 4 years at the
> current rate. (C guarantees only 16 bits for 'long int', and in our
> case it's a signed long int, so it's really 15 bits == 32768 maximum
> revisions.)

I believe anything except extremely old C dialects guarantees that int is at
least 16 bits and long is at least 32 bits. Unfortunately I can't find the
official spec right now. 32 bit long was certainly widely used when the PC
was a 16 bit machine. Maybe if you are building SVN to run on an 8-bit micro
...

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 24 18:57:35 2004

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