delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/03/12:52:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C0BBB52.9030403@ece.gatech.edu>
Date: Mon, 03 Dec 2001 12:50:10 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914
X-Accept-Language: en-us
MIME-Version: 1.0
To: Jason Tishler <jason AT tishler DOT net>
CC: Horak Daniel <horak AT sit DOT plzen-city DOT cz>, cygwin AT cygwin DOT com
Subject: Re: [ANN][RFC] cygipc-1.11 at cygutils
References: <20011203074933 DOT C2808 AT dothill DOT com>
X-Virus-Scanned: by amavisd-milter (http://amavis.org/)

Jason Tishler wrote:

> Chuck,
> 
> [Sorry for the sluggish response time...]
> 
> On Thu, Nov 29, 2001 at 12:41:04PM -0500, Charles Wilson wrote:
> 
>>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
>>>
>>>[snip]
>>>
>>Ah, then cygipc-1.11 won't work for postgresql.  Cygwin (and Linux) 
>>implementations of IPC need a fourth union memeber,
>>[snip]
>>This sounds like a vote for 'return to 1.10 behavior'.  Any other comments?
>>
> 
> I just tried the simplistic approach: configure, make, make check.
> PostgreSQL 7.1.3 builds cleanly and passes all regression tests.  So it
> seems that cygipc 1.11 is still compatible with PostgreSQL.


I guess postgresql never calls sem_ctl() with the IPC_INFO or SEM_INFO 
cmd.  (Those commands cause the libcygipc code to try to access union 
semun's __buf field, which may fail if the calling program doesn't 
declare union semun "properly")

This is the "doctor, it hurts when I..."  "don't do that" solution.

It relies on postgresql not exercising certain code paths.  Bad and flaky.

--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