delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/29/12:55:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3C067330.8000802@ece.gatech.edu>
Date: Thu, 29 Nov 2001 12:41:04 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Horak Daniel <horak AT sit DOT plzen-city DOT cz>
CC: cygwin AT cygwin DOT com
Subject: Re: [ANN][RFC] cygipc-1.11 at cygutils
References: <D5637E9568BDF3499B8BB02C12B4461DD47C AT EXCHANGE DOT mmp DOT plzen-city DOT cz>

Horak Daniel wrote:

>>What does postgresql do if there is no system-wide union semun?
>>
> 
> There is a check for union semun in configure and then if it does not
> find a system wide union semun it defines its own as
> 
> #ifndef HAVE_UNION_SEMUN
> union semun
> {
>         int                     val;
>         struct semid_ds *buf;
>         unsigned short *array;
> };
> #endif


Ah, then cygipc-1.11 won't work for postgresql.  Cygwin (and Linux) 
implementations of IPC need a fourth union memeber,
    struct seminfo *__buf
which is used when cmd == IPC_INFO, SEM_INFO.  Linux also requires a 
fifth member
   void *__pad
while cygipc declares that fifth member because it was modeled on the 
Linux code -- but cygipc never accesses __pad.

This sounds like a vote for 'return to 1.10 behavior'.  Any other comments?

--Chuck



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019