Re: pg7.3b5 on cygwin 1.3.15-1 - Same error - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: pg7.3b5 on cygwin 1.3.15-1 - Same error
Date
Msg-id 20021110013034.GC1592@tishler.net
Whole thread Raw
In response to Re: pg7.3b5 on cygwin 1.3.15-1 - Same error  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: pg7.3b5 on cygwin 1.3.15-1 - Same error  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-cygwin
Peter,

On Sat, Nov 09, 2002 at 05:28:08PM +0100, Peter Eisentraut wrote:
> Jason Tishler writes:
> > Although my patch was accepted, it did *not* make it into Cygwin
> > 1.3.15-1.  If you (temporarily) remove the following from stdio.h:
> >
> >     int _EXFUN(fseeko, (FILE *, off_t, int));
> >     off_t   _EXFUN(ftello, ( FILE *));
> >
> > then pg7.3b5 should build cleanly.
>
> I have looked at your previous posts about this but I still don't
> understand the root cause of this problem.

The root cause is the following:

    o In some recent version of Cygwin, the above two lines were added
      to stdio.h.
    o Recently, the HAVE_FSEEKO ifdef was added to pg_config.h.in.

> How widespread are the affected Cygwin versions

I don't know, but it will be fixed in Cygwin 1.3.16.

> and how often are we going to have to deal with this report?

Ditto.

I hope you realize that I have done all I can to solve this problem.
Once Dave brought it to my attention, I tracked down the root cause,
devised a solution, and submitted the appropriate patch.  Note that I
have no control as to when (or even if) my Cygwin patches will be
accepted and applied.

> (mine doesn't appear to be affected),

BTW, what version of Cygwin are you running?

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

pgsql-cygwin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg7.3b5 on cygwin 1.3.15-1 - Same error
Next
From: Peter Eisentraut
Date:
Subject: Re: pg7.3b5 on cygwin 1.3.15-1 - Same error