Re: Re: Problems with latest Cygwin build

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Eduardo Stern <eduardo(at)stern(dot)com(dot)br>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Re: Problems with latest Cygwin build
Date: 2001-03-27 22:37:00
Message-ID: 20010327173700.W465@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Eduardo,

On Tue, Mar 27, 2001 at 11:11:12AM -0300, Eduardo Stern wrote:
> Well, Jason, the problem only occured if I used the full
> cygwin-inst-20010325.tar.bz2, and then compiled postgresql. If I only change
> the cygwin1.dll, everything works.

You are correct. I have isolated the problem and I am submitting a
patch to Cygwin to fix it.

In case you are wondering, FindExec() in src/backend/utils/init/findbe.c
is failing due to a change in Cygwin's stat implementation. Try the
attached program *built* with 1.1.8-2 and then the 2001-03-25 snapshot
to see the difference.

With the snapshot, you will get the following:

$ vb /usr/local/pgsql/bin/postgres.exe
ValidateBinary: "/usr/local/pgsql/bin/postgres.exe" is not user read/execute
ValidateBinary() = -1

Thanks for the heads up.

Jason

--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

Attachment Content-Type Size
vb.c text/plain 3.2 KB

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2001-03-27 23:41:23 pgmonitor and Solaris
Previous Message Peter Eisentraut 2001-03-27 16:43:52 Re: 7.1RC1 regression results: anyone want them ?