mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
Change to fseeko(), per Philip.
This commit is contained in:
parent
7ab25fffac
commit
3fd6d3260f
@ -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
|
|||||||
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))
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user