Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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'

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.

Gran Thyni, sysadm, JMS Bildbasen, Kiruna

In response to


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group