httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] Port to BeOS
Date Tue, 02 Sep 1997 06:01:38 GMT


On Wed, 27 Aug 1997, Alexei Kosut wrote:

> One note, though: Sometime recently, the #define SCOREBOARD_FILE
> dissapeared from http_main.c, making all non-shared memory OSes stop
> working (which is why there's a #define SCOREBOARD_FILE in the BeOS
> section in the patch below - that's wrong, http_main.c should be fixed,
> but I didn't feel like taking the time to go back and do that). I'm going
> to sleep now (1:49 am), but someone should fix this.

I believe I moved it to httpd.h ... or maybe scoreboard.h.  I'm too zoned
right now to check.  I remember having a reason to move it ... 

> +#ifndef BEOS
> +/* BeOS does not support SO_KEEPALIVE */
>      if (setsockopt(s, SOL_SOCKET,SO_KEEPALIVE,(char *)&one,sizeof(int)) < 0)
{
>          log_unixerr("setsockopt", "(SO_KEEPALIVE)", NULL, server_conf);
>          exit(1);
>      }
>  #endif
> +#endif

Can you use #ifdef SO_KEEPALIVE ?

> +#ifndef BEOS	/* BeOS does not support SO_SNDBUF */

ditto.

> +#if defined(QNX) || defined(MPE) || defined(BEOS)
> +/* QNX, MPE and BeOS do not appear to support supplementary groups. */

Time for #define NO_SUPPLEMENTARY_GROUPS I think.

Dean


Mime
View raw message