Yet another fix for a useless compile warning. This one is slightly ugly ;-(
cheers
andrew
Index: src/bin/pg_dump/pg_backup_tar.c
===================================================================
RCS file: /home/cvsmirror/pgsql/src/bin/pg_dump/pg_backup_tar.c,v
retrieving revision 1.45
diff -c -r1.45 pg_backup_tar.c
*** src/bin/pg_dump/pg_backup_tar.c 7 Oct 2004 15:21:55 -0000 1.45
--- src/bin/pg_dump/pg_backup_tar.c 8 Nov 2004 17:26:03 -0000
***************
*** 1019,1025 ****
--- 1019,1029 ----
*/
fseeko(tmp, 0, SEEK_END);
th->fileLen = ftello(tmp);
+ #ifdef INT64_IS_BUSTED
if (th->fileLen > MAX_TAR_MEMBER_FILELEN)
+ #else
+ if (((int64) th->fileLen -1) >= MAX_TAR_MEMBER_FILELEN)
+ #endif
die_horribly(AH, modulename, "archive member too large for tar format\n");
fseeko(tmp, 0, SEEK_SET);