unixware 7.1x

Поиск
Список
Период
Сортировка
От Olivier PRENANT
Тема unixware 7.1x
Дата
Msg-id Pine.UW2.4.21.0005031726000.18979-100000@server.pyrenet.fr
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Thomas A. Szybist"
Дата:
Сообщение: sparc64 and 7.0RC3
Следующее
От: "Peter T. Whiting"
Дата:
Сообщение: user