You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/09/02 08:01:38 UTC
Re: [PATCH] Port to BeOS
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
Re: [PATCH] Port to BeOS
Posted by Dean Gaudet <dg...@arctic.org>.
On Tue, 2 Sep 1997, Alexei Kosut wrote:
> Well, if you moved it, it never showed up at its destination, so I added
> it back to http_main.c
Oh sorry.
> > > +#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 ?
>
> Probably. I just copied what was already there a few lines above for MPE
> and SO_REUSEADDR.
Yeah, I'm just saying it'd be nice to change this once and be done with it
... except for systems that define these symbols but don't implement them.
Dean
Re: [PATCH] Port to BeOS
Posted by Alexei Kosut <ak...@organic.com>.
On Mon, 1 Sep 1997, Dean Gaudet wrote:
[SCOREBOARD_FILE]
> 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 ...
Well, if you moved it, it never showed up at its destination, so I added
it back to http_main.c
> > +#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 ?
Probably. I just copied what was already there a few lines above for MPE
and SO_REUSEADDR.
-- Alexei Kosut <ak...@organic.com>