unixware 7.1x - Mailing list pgsql-ports

From Olivier PRENANT
Subject unixware 7.1x
Date
Msg-id Pine.UW2.4.21.0005031726000.18979-100000@server.pyrenet.fr
Whole thread Raw
List pgsql-ports
Hi all,

On my previous message I said that I couldn't connect on the postmaster
through a unix domain socket.

I traced down the problem tothe accept call. It turns out that in case on
unix domain, accept sets the remote family to AF_UNKNOWN (0) instead of
AF_UNIX (1). This doesn't happen on 7.0.1.

The kludge is straight forward. My question is "what does posix say about
it". I mean is it a UW bug or is it in the specs?

Should we add
if (port->raddr.sa.sa_familly == 0) port->raddr.sa.sa_family=AF_UNIX;
in pqcomm.c in case of unixware  ?

Regards,

--
Olivier PRENANT             Tel:    +33-5-61-50-97-00 (Work)
Quartier d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                      +33-6-07-63-80-64 (GSM)
FRANCE                      Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


pgsql-ports by date:

Previous
From: "Thomas A. Szybist"
Date:
Subject: sparc64 and 7.0RC3
Next
From: "Peter T. Whiting"
Date:
Subject: user