delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/12/09:56:52

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 12 May 2003 09:54:53 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: cygipc (and PostgreSQL) XP problem resolved!
In-reply-to: <Pine.GSO.4.44.0305072148060.3212-100000@slinky.cs.nyu.edu>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20030512135453.GB1708@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0305072136040 DOT 3212-100000 AT slinky DOT cs DOT nyu DOT edu>
<Pine DOT GSO DOT 4 DOT 44 DOT 0305072148060 DOT 3212-100000 AT slinky DOT cs DOT nyu DOT edu>

Igor,

On Wed, May 07, 2003 at 10:09:51PM -0400, Igor Pechtchanski wrote:
> It also calls GetVersion() twice every time it resolves a semaphore
> name.  It might be better to use something like
> 
> #define FULL_NAMESPACE_PATH(name) \
>      ({WORD ver=LOWORD(GetVersion()); \
>       (MAKEWORD(HIBYTE(ver),LOBYTE(ver)) >= MAKEWORD(1,5)) ? \
>        NAMESPACE_PREFIX name : name})
                                     ^
                                     +--- missing semicolon

Did you compile the above? :,)

Anyway, thanks for pointing me in the right direction.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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