www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <IanHols...@iname.com>
Subject Re: mod_jserv/4828: jserv_mmap.c tries to include sys/mman.h on aNT system
Date Fri, 06 Aug 1999 20:30:01 GMT
The following reply was made to PR mod_jserv/4828; it has been noted by GNATS.

From: Ian Holsman <IanHolsman@iname.com>
To: jon * <jon@clearink.com>
Cc: apbugs@hyperreal.org
Subject: Re: mod_jserv/4828: jserv_mmap.c tries to include sys/mman.h on aNT 
 system
Date: Fri, 06 Aug 1999 13:25:02 -0700

 might want to try
 +#if defined(HAVE_MMAP) && !defined(WIN32)
 
 
 
 oh... I found another prob in jserv_ajpv12.c it is missing the include file
 http_core.h
 it is needed for ap_get_server_name/ ap_get_server_port
 just #including it seemed to work.
 
 ..Ian
 
 jon * wrote:
 
 > >>Fix:
 > > Either find a NT method of implementing this feature, or add &&
 > !defined(WIN32)
 > > to the code so that it doesn't use mem mapping...
 >
 > does this fix the problem?
 >
 > -jon
 >
 >   Index: jserv_mmap.c
 >   ===================================================================
 >   RCS file: /products/cvs/master/jserv/src/c/jserv_mmap.c,v
 >   retrieving revision 1.11
 >   retrieving revision 1.12
 >   diff -u -r1.11 -r1.12
 >   --- jserv_mmap.c 1999/07/14 07:39:50 1.11
 >   +++ jserv_mmap.c 1999/08/06 19:54:58 1.12
 >   @@ -60,12 +60,12 @@
 >     *              process found it was not present. (fail-over part)
 > *
 >     * Comments:    MT-unsafe
 > *
 >     * Author:      Jean-Luc Rochat <jlrochat@jnix.com>
 > *
 >   - * Version:     $Revision: 1.11 $
 > *
 >   + * Version:     $Revision: 1.12 $
 > *
 >
 > ****************************************************************************
 > */
 >
 >    #include "jserv.h"
 >
 >   -#ifdef HAVE_MMAP
 >   +#ifdef HAVE_MMAP && !defined(WIN32)
 >    /*
 > ========================================================================= */
 >    /* we are on a system with the mmapp POSIX system call.
 > */
 >    /* mmap'ed file is a shared memory read/write by all processes.
 > */
 >
 >
 

Mime
View raw message