mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
pgindent run.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/port/fseeko.c,v 1.10 2003/01/11 19:38:23 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/port/fseeko.c,v 1.11 2003/08/04 00:43:33 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -40,7 +40,7 @@
|
||||
int
|
||||
fseeko(FILE *stream, off_t offset, int whence)
|
||||
{
|
||||
off_t floc;
|
||||
off_t floc;
|
||||
struct stat filestat;
|
||||
|
||||
switch (whence)
|
||||
@@ -79,7 +79,7 @@ fseeko(FILE *stream, off_t offset, int whence)
|
||||
return 0;
|
||||
break;
|
||||
default:
|
||||
errno = EINVAL;
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -94,10 +94,11 @@ failure:
|
||||
off_t
|
||||
ftello(FILE *stream)
|
||||
{
|
||||
off_t floc;
|
||||
off_t floc;
|
||||
|
||||
if (fgetpos(stream, &floc) != 0)
|
||||
return -1;
|
||||
return floc;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user