You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Ben Laurie <be...@hyperreal.com> on 1996/06/30 00:23:28 UTC
cvs commit: apache/src CHANGES mod_status.c
ben 96/06/29 15:23:27
Modified: src CHANGES mod_status.c
Log:
NeXT doesn't have _SC_CLK_TCK...
Submitted By: Takaaki Matsumoto <ta...@tmnext.linc.or.jp>
Revision Changes Path
1.38 +2 -0 apache/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache/src/CHANGES,v
retrieving revision 1.37
retrieving revision 1.38
diff -C3 -r1.37 -r1.38
*** CHANGES 1996/06/29 20:02:46 1.37
--- CHANGES 1996/06/29 22:23:24 1.38
***************
*** 1,3 ****
--- 1,5 ----
+ *) Bring NeXT support up to date. [Takaaki Matsumoto]
+
*) Bring QNX support up to date. [Ben Laurie]
*) Make virtual hosts default to main server keepalive parameters.
1.25 +8 -0 apache/src/mod_status.c
Index: mod_status.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_status.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C3 -r1.24 -r1.25
*** mod_status.c 1996/06/11 20:35:36 1.24
--- mod_status.c 1996/06/29 22:23:25 1.25
***************
*** 90,95 ****
--- 90,99 ----
#include <time.h>
#include "scoreboard.h"
+ #ifdef NEXT
+ #include <machine/param.h>
+ #endif
+
#define STATUS_MAXLINE 50
#define KBYTE 1024
***************
*** 182,188 ****
--- 186,196 ----
unsigned long my_lres,my_bytes,conn_bytes;
unsigned short conn_lres;
unsigned long bcount=0;
+ #ifdef NEXT
+ float tick=HZ;
+ #else
float tick=sysconf(_SC_CLK_TCK);
+ #endif
#endif /* STATUS */
int short_report=0;
int no_table_report=0;