httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: httpd-2.0/server util.c
Date Mon, 29 Jan 2001 21:51:45 GMT
dreid@apache.org writes:

> dreid       01/01/27 12:03:23
> 
>   Modified:    server   util.c
>   Log:
>   BeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it
>   work correctly.  Shouldn't this be APR'ized?

>   -#ifdef BEOS
>   +#ifdef BEOS_R5
>        if (gethostname(str, sizeof(str) - 1) == 0)
>    #else
>        if (gethostname(str, sizeof(str) - 1) != 0)

Certainly...  See apr_gethostname().  The unfortunate pre-BONE BEOS
check needs to be added to the Unix flavor in
srclib/apr/network_io/unix/sockopt.c.

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message