unixware 7.1x

From: Olivier PRENANT <ohp(at)pyrenet(dot)fr>
To: pgsql-ports(at)postgresql(dot)org
Subject: unixware 7.1x
Date: 2000-05-03 15:32:03
Message-ID: Pine.UW2.4.21.0005031726000.18979-100000@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

Browse pgsql-ports by date

  From Date Subject
Next Message Thomas A. Szybist 2000-05-03 17:38:41 sparc64 and 7.0RC3
Previous Message Bruce Momjian 2000-05-03 03:45:30 Re: Patch for FAQ_SCO