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

Re: svn log: 1.7 and large limits

From: Dave Huang <khym_at_azeotrope.org>
Date: Tue, 31 Jul 2012 14:39:45 -0500

On Jul 31, 2012, at 2:26 PM, Stefan Sperling wrote:

> The limit value is defined as an int (see opt_state defitinion in
> subversion/svn/cl.h). According to the C standard an int is always
> 32bit in size, and signed.

FWIW, the C standard doesn't actually specify the absolute size of an int--it only specifies its size relative to the other integral types: sizeof(short) <= sizeof(int) <= sizeof(long)

That said, in practice, int is probably 32 bits on everything you'd want to svn on. It's 16 bits on some microcontrollers, for example. And I think it's 64 bits on a supercomputer or two.

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym_at_azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 36 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
Received on 2012-07-31 21:40:35 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.