pgsql: autoconf 2.61's AC_FUNC_FSEEKO reports success/failure

Started by Bruce Momjianover 18 years ago3 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Log Message:
-----------
autoconf 2.61's AC_FUNC_FSEEKO reports success/failure differently, so
reorganize code for NetBSD/BSDi port/fseeko.c usage, and make code more
modular.

Modified Files:
--------------
pgsql:
configure (r1.580 -> r1.581)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.580&r2=1.581)
configure.in (r1.548 -> r1.549)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.548&r2=1.549)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#1)
Re: pgsql: autoconf 2.61's AC_FUNC_FSEEKO reports success/failure

momjian@postgresql.org (Bruce Momjian) writes:

autoconf 2.61's AC_FUNC_FSEEKO reports success/failure differently, so
reorganize code for NetBSD/BSDi port/fseeko.c usage, and make code more
modular.

This patch has caused boatloads of

pg_backup_custom.c: In function `_PrintTocData':
pg_backup_custom.c:480: warning: implicit declaration of function `fseeko'
pg_backup_custom.c: In function `_CloseArchive':
pg_backup_custom.c:815: warning: implicit declaration of function `ftello'

all over the build. Kindly fix or revert.

regards, tom lane

#3Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#2)
Re: pgsql: autoconf 2.61's AC_FUNC_FSEEKO reports success/failure

Tom Lane wrote:

momjian@postgresql.org (Bruce Momjian) writes:

autoconf 2.61's AC_FUNC_FSEEKO reports success/failure differently, so
reorganize code for NetBSD/BSDi port/fseeko.c usage, and make code more
modular.

This patch has caused boatloads of

pg_backup_custom.c: In function `_PrintTocData':
pg_backup_custom.c:480: warning: implicit declaration of function `fseeko'
pg_backup_custom.c: In function `_CloseArchive':
pg_backup_custom.c:815: warning: implicit declaration of function `ftello'

all over the build. Kindly fix or revert.

OK, I applied a patch that removes the modular change --- hopefully that
fixes it.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +