Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 CC: Horak Daniel , cygwin AT cygwin DOT com Subject: Re: [ANN][RFC] cygipc-1.11 at cygutils References: <20011203074933 DOT C2808 AT dothill DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/