www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jon *" <...@clearink.com>
Subject Re: mod_jserv/4828: jserv_mmap.c tries to include sys/mman.h on a NT system
Date Fri, 06 Aug 1999 20:10:00 GMT
The following reply was made to PR mod_jserv/4828; it has been noted by GNATS.

From: "jon *" <jon@clearink.com>
To: Ianholsman@iname.com
Cc: apbugs@hyperreal.org
Subject: Re: mod_jserv/4828: jserv_mmap.c tries to include sys/mman.h on a
	 NT system
Date: Fri, 06 Aug 1999 13:06:22 -0700

 >>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