apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: PATCH: small patch for OpenServer
Date Sun, 15 Dec 2002 20:43:03 GMT
On Sun, Dec 15, 2002 at 12:09:38PM -0800, Kean Johnston wrote:
> >    The second part is a little iffy.  Is there no header in SCO which 
> > defines SHUT_RDWR?  The library (-lsocket) that provides shutdown() 
> > doesn't provide SHUT_RDWR?  Does the manual for that function really 
> > tell you to pass '2' in for the second arg?
> 
> I was just thinking about this. Although we don’t define this in a
> header, I will also state that APR is the very first software package
> in my nearly 11 years of porting stuff to UNIX that has used those
> constants. Just something to think about :)

SHUT_* are defined in UnixWare 7.0 albeit only if:

#if (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE_EXTENDED - 0 >= 1)

curious if that isn't true in OpenServer too?

joe

Mime
View raw message