Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5d34864

Browse files
committed
use fseeko instead of fseek when accessing the map of page headers
1 parentb794fbc commit5d34864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2158,7 +2158,7 @@ get_data_file_headers(HeaderMap *hdr_map, pgFile *file, uint32 backup_version, b
21582158
/* disable buffering for header file */
21592159
setvbuf(in,NULL,_IONBF,0);
21602160

2161-
if (fseek(in,file->hdr_off,SEEK_SET))
2161+
if (fseeko(in,file->hdr_off,SEEK_SET))
21622162
{
21632163
elog(strict ?ERROR :WARNING,"Cannot seek to position %llu in page header map \"%s\": %s",
21642164
file->hdr_off,hdr_map->path,strerror(errno));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp