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

Re: apr_off_t is of an ambiguous size.

From: Ben Reser <ben_at_reser.org>
Date: 2004-01-18 03:21:28 CET

On Sat, Jan 17, 2004 at 09:13:42PM -0500, Greg Hudson wrote:
> And, last I checked, 64 is at least as big as 32.
>
> The first check is fine. The second check (before stuffing the APR
> offset back into the parameter) seems needless.

Ahh I misunderstood what you meant. I thought you meant let's just
ditch the bounds checking entirely. Rather you're saying let's not
bother testing before putting back into the svn_offset_t from the
apr_off_t.

That's fine with me. I tend to error on the side of being overly
paranoid.

-- 
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 Sun Jan 18 03:21:57 2004

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