Re: [HACKERS] Snapshot 270198 compile error

From: Goran Thyni <goran(at)bildbasen(dot)se>
To: fenix(at)am(dot)ring(dot)ru
Cc: pgsql-hackers(at)postgreSQL(dot)org, maillist(at)candle(dot)pha(dot)pa(dot)us
Subject: Re: [HACKERS] Snapshot 270198 compile error
Date: 1998-01-27 10:08:33
Message-ID: 19980127100833.4643.qmail@guevara.bildbasen.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On linux-elf:
pqcomm.c: In function `StreamServerPort':
pqcomm.c:605: structure has no member named `sun_len'
pqcomm.c: In function `StreamOpen':
pqcomm.c:760: structure has no member named `sun_len'

Yes,
the sun_len member of struct sockaddr_un is BSD-specific.
It is not there in Linux, nor in a SVR4-system we run here.

I had hard-coded the extra offset to 1 in the UNIXSOCK_PATH macro,
maybe 2 or 4 works OK on all systems.

regards,
--
---------------------------------------------
Gran Thyni, sysadm, JMS Bildbasen, Kiruna

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas DBT 1998-01-27 10:13:24 No: implied sort with group by
Previous Message Serj 1998-01-27 08:49:33 Snapshot 270198 compile error