Henning Brauer <[EMAIL PROTECTED]> writes:

> On Wed, Jul 17, 2002 at 08:42:33AM -0400, Jeff Trawick wrote:
> > I would have thought you would add
> > 
> >   #if defined __OpenBSD__
> >   #define HAVE_SYSVSEM_SERIALIZED_ACCEPT
> >   #endif
> > 
> > since you have flock too.
> > 
> > If you want to force sysvsem be the default, add
> > 
> >   #define USE_SYSVSEM_SERIALIZED_ACCEPT
> > 
> > in the __OpenBSD__ path.
> > 
> > This way you allow the admin to choose flock if they really want.
> 
> you're right.
> I'm on committing that change.

does everybody agree that this is preferable?

Index: src/include/ap_config.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/include/ap_config.h,v
retrieving revision 1.323
diff -u -r1.323 ap_config.h
--- src/include/ap_config.h     3 Jun 2002 12:28:27 -0000       1.323
+++ src/include/ap_config.h     17 Jul 2002 14:23:39 -0000
@@ -688,6 +688,10 @@
 #define USE_MMAP_SCOREBOARD
 #define USE_MMAP_FILES
 #define HAVE_FLOCK_SERIALIZED_ACCEPT
+#if defined(__OpenBSD__)
+#define HAVE_SYSVSEM_SERIALIZED_ACCEPT
+#define USE_SYSVSEM_SERIALIZED_ACCEPT
+#endif
 #define SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 
 #elif defined(UTS21)


-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to