Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 67561 invoked by uid 500); 4 Dec 2001 12:44:22 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 67550 invoked from network); 4 Dec 2001 12:44:21 -0000 X-Authentication-Warning: rdu163-40-092.nc.rr.com: trawick set sender to trawick@attglobal.net using -f Sender: trawick@rdu163-40-092.nc.rr.com To: dev@httpd.apache.org Subject: [PATCH] distinguishing 64-bit vs. 32-bit in httpd -v From: Jeff Trawick Date: 04 Dec 2001 07:43:55 -0500 Message-ID: Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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...