httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject [PATCH] distinguishing 64-bit vs. 32-bit in httpd -v
Date Tue, 04 Dec 2001 12:43:55 GMT
Okay, after you get through laughing share your ideas.  This patch
gives me enough information to know which build I'm running with.

Index: server/main.c
===================================================================
RCS file: /cvs/apache/httpd-2.0/server/main.c,v
retrieving revision 1.107
diff -u -r1.107 main.c
--- main.c      2001/11/29 07:30:49     1.107
+++ main.c      2001/12/04 12:40:05
@@ -89,6 +89,7 @@
     printf("Server built:   %s\n", ap_get_server_built());
     printf("Server's Module Magic Number: %u:%u\n",
           MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR);
+    printf("Pointer size:   %d\n", sizeof(void *));
     printf("Server compiled with....\n");
 #ifdef BIG_SECURITY_HOLE
     printf(" -D BIG_SECURITY_HOLE\n");
-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message