httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server main.c
Date Tue, 04 Dec 2001 18:36:51 GMT
trawick     01/12/04 10:36:51

  Modified:    server   main.c
  Log:
  tweak httpd -V output to show the architecture (bits in a pointer)
  and whether or not APR_HAS_SENDFILE is defined
  
  Revision  Changes    Path
  1.109     +4 -0      httpd-2.0/server/main.c
  
  Index: main.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/main.c,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- main.c	2001/12/03 14:28:39	1.108
  +++ main.c	2001/12/04 18:36:51	1.109
  @@ -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("Architecture:   %d-bit\n", 8 * sizeof(void *));
       printf("Server compiled with....\n");
   #ifdef BIG_SECURITY_HOLE
       printf(" -D BIG_SECURITY_HOLE\n");
  @@ -104,6 +105,9 @@
   #endif
   #if APR_FILE_BASED_SHM
       printf(" -D APR_FILE_BASED_SHM\n");
  +#endif
  +#if APR_HAS_SENDFILE
  +    printf(" -D APR_HAS_SENDFILE\n");
   #endif
   #if APR_HAS_MMAP
       printf(" -D APR_HAS_MMAP\n");
  
  
  

Mime
View raw message