Stas Bekman <[EMAIL PROTECTED]> writes:

> oops, should have mentioned which code I was referring to.
> The ifdef HAVE_TIMES part of a code snippet seems to be irrelevant
> (includes my previously posted patch as well):
> 
> Index: modules/generators/mod_status.c
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/modules/generators/mod_status.c,v
> retrieving revision 1.54
> diff -u -r1.54 mod_status.c
> --- modules/generators/mod_status.c   4 Mar 2002 10:46:22 -0000       1.54
> +++ modules/generators/mod_status.c   11 Mar 2002 17:04:43 -0000
> @@ -558,26 +558,12 @@
>                   ws_record = ap_scoreboard_image->servers[i][j];
>                   ps_record = ap_scoreboard_image->parent[i];
> 
> -#if defined(NO_GETTIMEOFDAY)
> -#ifdef HAVE_TIMES
> -                if (ws_record.start_time == (clock_t)0)
> -                    req_time = 0L;
> -                else {
> -                    req_time = ws_record.stop_time - ws_record.start_time;
> -                    req_time = (req_time * 1000) / (int)tick;
> -                }
> -#else

I just committed the deletion of the NO_GETTIMEOFDAY "support."

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to