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

RE: svn commit: r1100704 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 9 May 2011 16:42:09 +0200

> -----Original Message-----
> From: Hyrum K Wright [mailto:hyrum_at_hyrumwright.org]
> Sent: maandag 9 mei 2011 16:32
> To: dev_at_subversion.apache.org
> Cc: commits_at_subversion.apache.org
> Subject: Re: svn commit: r1100704 -
> /subversion/trunk/subversion/libsvn_wc/wc_db.c

> Instead of all the casting, why don't we just change the types of the
> various local variables?

I don't think I'll live the day where normal path lengths don't fit in an 32
bit integer.

For a 32 bit signed op-depth overflow we need at least 4GB bytes in a path
name.

        Bert
Received on 2011-05-09 16:42:44 CEST

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.