httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] We have sysvsem on OpenBSD
Date Wed, 17 Jul 2002 13:18:34 GMT
Henning Brauer wrote:
> 
> sorry if this appears twice, first one seems not to have made it.
> 
> we have sysvsem on OpenBSD and applied the following patch to ap_config.h 
> in our tree - would be nice to have it in the apache.org tree as well. this
> is for apache 1.3.
> 
> Index: src/include/ap_config.h
> ===================================================================
> RCS file: /cvs/src/usr.sbin/httpd/src/include/ap_config.h,v
> retrieving revision 1.10
> diff -u -r1.10 ap_config.h
> --- src/include/ap_config.h	29 Mar 2002 02:08:05 -0000	1.10
> +++ src/include/ap_config.h	9 Jul 2002 06:42:15 -0000
> @@ -687,7 +687,11 @@
>  #define HAVE_MMAP 1
>  #define USE_MMAP_SCOREBOARD
>  #define USE_MMAP_FILES
> +#if defined __OpenBSD__
> +#define HAVE_SYSVSEM_SERIALIZED_ACCEPT
> +#else
>  #define HAVE_FLOCK_SERIALIZED_ACCEPT
> +#endif	
> 

Why the "#else" part? Does OpenBSD lack flock() or is it because of
the new 'chroot' that your version does, but the .org doesn't. If the
latter, I'd prefer allowing both with the official ASF code.


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Mime
View raw message