Re: Severe regression in autoconf 2.61

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Severe regression in autoconf 2.61
Date: 2008-02-19 09:46:54
Message-ID: 200802191046.55238.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

Attachment Content-Type Size
autoconf-fseeko-fix.patch text/x-diff 2.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-02-19 13:22:34 Getting available options
Previous Message Gregory Stark 2008-02-19 08:56:04 Re: ANALYZE to be ignored by VACUUM