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

Re: SVN 1.5 beta1 - info2 returns svn_info_t.size == 4294967295

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Sun, 30 Mar 2008 13:25:52 -0400

Barry Scott <barry_at_barrys-emacs.org> writes:
>> On Wed, 26 Mar 2008, Barry Scott wrote:
>>> I'm running svn 1.5 beta1 on Mac OS X 10.4.11 PowerPC.
>>>
>>> svn_client_info2() for a wc file returned
>>>
>>> working_size == 33
>>> size == 4294967295
>>>
>>> How should I interpret the value 4294967295?
>>
>> 4294967295 == 0xFFFFFFFF. It looks as though something stored the
>> value
>> -1 into a variable that was later interpreted as an unsigned 32-bit
>> integer.
>
> But is this a bug or a feature?
>
> Should I be raising a bug report about this?

If we're trying to put a negative value into an unsigned field, that's a
bug already (it may be a symptom of some larger bug too). So yes,
please raise a bug report, if you have a full reproduction recipe...

Thank you,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-30 19:26:08 CEST

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