Commit 3fd6d326 authored by Bruce Momjian's avatar Bruce Momjian

Change to fseeko(), per Philip.

parent 7ab25fff
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.60 2002/10/25 01:33:17 momjian Exp $ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.61 2002/10/25 03:47:30 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -2347,7 +2347,7 @@ bool ...@@ -2347,7 +2347,7 @@ bool
checkSeek(FILE *fp) checkSeek(FILE *fp)
{ {
if (fseek(fp, 0, SEEK_CUR) != 0) if (fseeko(fp, 0, SEEK_CUR) != 0)
return false; return false;
else if (sizeof(off_t) > sizeof(long)) else if (sizeof(off_t) > sizeof(long))
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment