You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chuck Murcko <ch...@telebase.com> on 1996/06/12 18:07:33 UTC

Re: difftime() (fwd)

OK. This one's put to rest for release.

dom@inta.net liltingly intones:
> From dom@panic.inta.net Wed Jun 12 04:24:37 1996
> Message-Id: <19...@panic.inta.net>
> Subject: Re: difftime()
> To: chuck@wormhole.telebase.com (Chuck Murcko)
> Date: Wed, 12 Jun 1996 09:23:40 +0100 (BST)
> In-Reply-To: <19...@telebase.com.> from "Chuck Murcko" at Jun 11, 96 04:17:06 pm
> From: dom@inta.net
> Organisation: Intanet Communications, U.K.
> X-Mailer: ELM [version 2.4 PL25]
> Content-Type: text
> 
> In a previous message, Chuck Murcko wrote:
> : Hi Dom. You can insert this function into mod_status.c and try it out.
> : Let me know if you have to change the function args from time_t to
> : unsigned long or something; I don't remember if SunOS has time_t. 8^(
> : Thanks for the report; I hope this helps.
> : 
> : Just stick this in before the line
> : 
> : /* Main handler for x-httpd-status requests */
> : 
> : and it should work fine.
> : 
> : #if defined(SUNOS4)
> : double
> : difftime(time1, time0)
> :         time_t time1, time0;
> : {   
> :         return(time1 - time0);
> : }   
> : #endif
> 
> That patch works like a dream. Many thanks Chuck.
> 
> 
> 	Regards,
> 		Dom.
> -- 
>   Dominic J. Hulewicz                                  facs://0973.582.396
>   mailto:dom@inta.net                                  http://http.org/dom
> 

chuck
Chuck Murcko	N2K Inc.	Wayne PA	chuck@telebase.com
And now, on a lighter note:
Psychotherapy is the theory that the patient will probably get well
anyhow and is certainly a damn fool.
		-- H. L. Mencken