httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject [PATCH]? Shared Memory for SVR4
Date Wed, 16 Apr 1997 12:47:47 GMT
Hi,

On two SVR4 machines here (an antique i486 SVR4.1 [`uname -s`=SINIX-D]
and a MIPS SVR4.2 [`uname-s`=SINIX-N]), I have now been using
apache-1.2b8 with shared memory enabled without any problems for about
two weeks already.

Here's my patch for it (I wonder if there are any SVR4 dialects out there
who cannot use Shared Memory?!?!):
Index: conf.h
===================================================================
RCS file: /home/cvs/apache/src/conf.h,v
retrieving revision 1.28
diff -u -r1.28 conf.h
--- conf.h	1997/04/08 14:06:07	1.28
+++ conf.h	1997/04/16 12:42:59
@@ -323,6 +323,8 @@
 #define NO_LINGCLOSE
 
 #elif defined(SVR4)
+#define HAVE_MMAP
+#define HAVE_SHMGET
 #define NO_KILLPG
 #undef  NO_SETSID
 #undef NEED_STRDUP

Cheers,
    Martin
-- 
| S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Mime
View raw message