Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 74371 invoked by uid 500); 15 Feb 2001 22:22:31 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 74352 invoked from network); 15 Feb 2001 22:22:28 -0000 Errors-To: Message-ID: <00e801c0979c$fb3f35d0$93c0b0d0@roweclan.net> From: "William A. Rowe, Jr." To: References: Subject: Re: cvs commit: httpd-2.0/modules/generators mod_status.c Date: Thu, 15 Feb 2001 16:16:43 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > Guys, we have a time value that doesn't fit as either of these. Either we > need ANOTHER time type, or we have done something wrong. > > Please do not tell me: > > apr_time_t - apr_time_t != (apr_time_t | apr_interval_time_t) For jimminy christmas's sake, of course we do! I've been preaching that for six friggin months. We need to delininate beween apr_interval_short_t and apr_interval_t. The _short_t is lossy (accurate only to +/- 35 minutes). apr_interval_t should be a signed 64 bit number. Why signed? Because you need to differentiate between now - past and past - now which are distinctly different values, both valid. [I was always partial to 'delta' over 'interval' myself, but that's a nit.]