mirror of
https://github.com/postgres/postgres.git
synced 2026-02-26 19:30:25 -05:00
Change to fseeko(), per Philip.
This commit is contained in:
parent
7ab25fffac
commit
3fd6d3260f
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
*
|
||||
*
|
||||
* 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
|
|||
checkSeek(FILE *fp)
|
||||
{
|
||||
|
||||
if (fseek(fp, 0, SEEK_CUR) != 0)
|
||||
if (fseeko(fp, 0, SEEK_CUR) != 0)
|
||||
return false;
|
||||
else if (sizeof(off_t) > sizeof(long))
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue