Re: msvc, build and install with cygwin in the PATH - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: msvc, build and install with cygwin in the PATH
Date
Msg-id 20070530132740.GE9787@svr2.hagander.net
Whole thread Raw
In response to Re: msvc, build and install with cygwin in the PATH  (Hannes Eder <Hannes@HannesEder.net>)
Responses Re: msvc, build and install with cygwin in the PATH
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TOAST usage setting
Next
From: "Rodrigo Sakai"
Date:
Subject: Passing parameters to a C function