[GRASS5] sockets and Solaris

Eric G . Miller egm2 at jps.net
Fri Feb 16 17:01:08 EST 2001


On Fri, Feb 16, 2001 at 09:59:15AM -0400, Bob Covill wrote:
> Eric,
> 
> Just to be difficult, Solaris does not define AF_LOCAL either. I have
> attached my socket.h file to show how things are defined on my Solaris
> system. It does not look for a bits/socket.h file as on other systems
> (linux), everything seems to be defined in this one file from
> sys/socket.h.
> 
> Is AF_UNIX and PF_UNIX the same as AF_LOCAL? Would it be a legal fix
> to replace AF_LOCAL with AF_UNIX? I am completely in the dark when it
> comes to sockets.

I updated unix_socks.c to define AF_LOCAL = AF_UNIX and PF_LOCAL =
PF_UNIX if the two aren't defined already.  I imagine there are still
quite a few machines in operation that don't have the POSIX naming
convention...

-- 
Eric G. Miller <egm2 at jps.net>

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list