cvs commit: apache-2.0/src/lib/apr/test ab_apr.c

2000-01-26 Thread bjh
bjh 00/01/25 23:01:13

  Modified:src/lib/apr/test ab_apr.c
  Log:
  timetaken is expected to be in milliseconds, not seconds.
  
  Revision  ChangesPath
  1.16  +2 -2  apache-2.0/src/lib/apr/test/ab_apr.c
  
  Index: ab_apr.c
  ===
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/ab_apr.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ab_apr.c  2000/01/09 05:18:19 1.15
  +++ ab_apr.c  2000/01/26 07:01:10 1.16
  @@ -245,7 +245,7 @@
   int timetaken;
   
   endtime = ap_now();
  -timetaken = (endtime - start) / AP_USEC_PER_SEC;
  +timetaken = (endtime - start) / 1000;
   
   printf(\r   
\r);
   printf(Server Software:%s\n, servername);
  @@ -320,7 +320,7 @@
   int timetaken;
   
   endtime = ap_now();
  -timetaken = (endtime - start) / AP_USEC_PER_SEC;
  +timetaken = (endtime - start) / 1000;
   
   printf(\n\ntable %s\n, tablestring);
   printf(tr %sth colspan=2 %sServer Software:/th
  
  
  


cvs commit: apache-2.0/src/lib/apr/test ab_apr.c htdigest.c

1999-12-03 Thread rbb
rbb 99/12/03 08:12:32

  Modified:src/lib/apr/test ab_apr.c htdigest.c
  Log:
  Programs that build using APR no longer have access to the HAVE_FOO_H
  defines.  This was causing errors in these two test programs.  Fixed now.
  
  Revision  ChangesPath
  1.12  +0 -6  apache-2.0/src/lib/apr/test/ab_apr.c
  
  Index: ab_apr.c
  ===
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/ab_apr.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ab_apr.c  1999/11/20 22:05:25 1.11
  +++ ab_apr.c  1999/12/03 16:12:25 1.12
  @@ -107,15 +107,9 @@
   #include apr_file_io.h
   #include apr_time.h
   #include apr_getopt.h
  -#ifdef HAVE_STRING_H
   #include string.h
  -#endif
  -#ifdef HAVE_STDIO_H
   #include stdio.h
  -#endif
  -#ifdef HAVE_STDLIB_H
   #include stdlib.h
  -#endif
   
   /* --- DEFINITIONS -- */
   /* maximum number of requests on a time limited test */
  
  
  
  1.9   +0 -6  apache-2.0/src/lib/apr/test/htdigest.c
  
  Index: htdigest.c
  ===
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/htdigest.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- htdigest.c1999/10/15 14:20:18 1.8
  +++ htdigest.c1999/12/03 16:12:27 1.9
  @@ -69,15 +69,9 @@
   #include apr_lib.h
   #include apr_md5.h
   #include sys/types.h
  -#ifdef HAVE_SYS_SIGNAL_H
   #include sys/signal.h
  -#else
   #include signal.h
  -#endif
  -
  -#ifdef HAVE_STDLIB_H
   #include stdlib.h
  -#endif
   
   #ifdef WIN32
   #include conio.h