Обсуждение: pgsql: autoconf 2.61's AC_FUNC_FSEEKO reports success/failure
pgsql: autoconf 2.61's AC_FUNC_FSEEKO reports success/failure
От
momjian@postgresql.org (Bruce Momjian)
Дата:
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)
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
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. +