unixware 7.1x
unixware 7.1x
От:
Olivier PRENANT <ohp@pyrenet.fr>
Дата:
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)