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

Re: msvc, build and install with cygwin in the PATH

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Hannes Eder <Hannes(at)HannesEder(dot)net>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-patches(at)postgresql(dot)org,pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: msvc, build and install with cygwin in the PATH
Date: 2007-05-30 13:27:40
Message-ID: 20070530132740.GE9787@svr2.hagander.net (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
On Wed, May 30, 2007 at 01:56:24PM +0200, Hannes Eder wrote:
> Magnus Hagander schrieb:
> >Are you actually *running* the script from inside cygwin? How else does it
> >pick up the wrong command processor?
> >  
> I run the script within cmd.exe, but cygwin´s /usr/bin directory is in 
> my PATH, therefor cygwin dir executable is in the PATH (/usr/bin/dir). 
> Instead of running cmd.exe´s "dir" command, cygwin´s /usr/bin/dir is 
> invoked, when calling

They actually *put* that in there? Wow. That's yet another reason never to
let cygwni touch your global path :-)

> >>Is it worth doing this the "Perl-way" and using File::Find? If so, I can 
> >>work an a patch for that.
> >>    
> >It's certainly cleaner that way, but I don't find it a major issue. But I'd
> >rather see that fix than the other one.
> >  
> Time permitting I´ll provide a patch.

Thanks.

//Magnus


In response to

Responses

pgsql-hackers by date

Next:From: Rodrigo SakaiDate: 2007-05-30 14:26:01
Subject: Passing parameters to a C function
Previous:From: Tom LaneDate: 2007-05-30 13:26:44
Subject: Re: TOAST usage setting

pgsql-patches by date

Next:From: Zdenek KotalaDate: 2007-05-30 13:43:58
Subject: Re: [pgsql-patches] Ctid chain following enhancement
Previous:From: Pavan DeolaseeDate: 2007-05-30 13:27:01
Subject: Re: [pgsql-patches] Ctid chain following enhancement

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