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

Re: [SVN-DEV] Re: [RESUBMIT] [PATCH] svn_parse_date rewrite (issue #408)

From: C. Scott Ananian <cananian_at_lesser-magoo.lcs.mit.edu>
Date: 2001-09-19 03:12:44 CEST

On Wed, 19 Sep 2001, Branko [ISO-8859-2] �ibej wrote:

> Why are you using apr_int64_t for years, days and hours in normalize_time()?

can't hurt, can it? =)

years is definitely questionable, but a 64-bit quantity for seconds
definitely leads to the possibility of overflow from 32-bit days and hours
variables. Not that it will happen while humans remain on the earth, but
that's the reason. I was trying to remain faithful to the spirit of the
64-bit apr_time_t.
  --s

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:41 2006

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.