Re: Severe regression in autoconf 2.61 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Severe regression in autoconf 2.61
Date
Msg-id 200802191046.55238.peter_e@gmx.net
Whole thread Raw
In response to Severe regression in autoconf 2.61  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Severe regression in autoconf 2.61  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Severe regression in autoconf 2.61  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Am Dienstag, 19. Februar 2008 schrieb Tom Lane:
> Previously, AC_FUNC_FSEEKO did this to test if fseeko was available:
>         return !fseeko;
> Now it does this:
>         return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
>
> Unfortunately, that gives the compiler enough of a syntactic clue
> to guess that fseeko is probably an undeclared function, and therefore
> *it will not error out*, only generate a warning, if it's not seen
> a declaration for fseeko.

Please try the attached patch.

What is currently the consequence of the problem?  Does it fail to build, fail 
to run, or does it fail with large files?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: ANALYZE to be ignored by VACUUM
Next
From: Magnus Hagander
Date:
Subject: Getting available options