代码拉取完成,页面将自动刷新
同步操作将从 IvorySQL/IvorySQL 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*-------------------------------------------------------------------------
*
* win32fseek.c
* Replacements for fseeko() and ftello().
*
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/port/win32fseek.c
*
*-------------------------------------------------------------------------
*/
#ifdef FRONTEND
#include "postgres_fe.h"
#else
#include "postgres.h"
#endif
#ifdef _MSC_VER
/*
* _pgfseeko64
*
* Calling fseek() on a handle to a non-seeking device such as a pipe or
* a communications device is not supported, and fseek() may not return
* an error. This wrapper relies on the file type to check which cases
* are supported.
*/
int
_pgfseeko64(FILE *stream, pgoff_t offset, int origin)
{
DWORD fileType;
HANDLE hFile = (HANDLE) _get_osfhandle(_fileno(stream));
fileType = pgwin32_get_file_type(hFile);
if (errno != 0)
return -1;
if (fileType == FILE_TYPE_DISK)
return _fseeki64(stream, offset, origin);
else if (fileType == FILE_TYPE_CHAR || fileType == FILE_TYPE_PIPE)
errno = ESPIPE;
else
errno = EINVAL;
return -1;
}
/*
* _pgftello64
*
* Same as _pgfseeko64().
*/
pgoff_t
_pgftello64(FILE *stream)
{
DWORD fileType;
HANDLE hFile = (HANDLE) _get_osfhandle(_fileno(stream));
fileType = pgwin32_get_file_type(hFile);
if (errno != 0)
return -1;
if (fileType == FILE_TYPE_DISK)
return _ftelli64(stream);
else if (fileType == FILE_TYPE_CHAR || fileType == FILE_TYPE_PIPE)
errno = ESPIPE;
else
errno = EINVAL;
return -1;
}
#endif /* _MSC_VER */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。