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

Commit3e75df6

Browse files
committed
[PBCKP-270] fixes
1 parent71e6895 commit3e75df6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/compatibility/walmethods.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ dir_close(Walfile f, WalCloseMethod method)
283283
snprintf(tmppath,sizeof(tmppath),"%s/%s",
284284
dir_data->basedir,filename);
285285
pg_free(filename);
286-
err=$i(pioRemove,dir_data->drive,tmppath);
286+
err=$i(pioRemove,dir_data->drive,tmppath, .missing_ok= false);
287287
}
288288

289289
if ($haserr(err)){
@@ -339,7 +339,8 @@ dir_get_file_size(const char *pathname)
339339
snprintf(tmppath,sizeof(tmppath),"%s/%s",
340340
dir_data->basedir,pathname);
341341

342-
statbuf=$i(pioStat,dir_data->drive, .err=&err);
342+
statbuf=$i(pioStat,dir_data->drive, .path=pathname,
343+
.follow_symlink= false, .err=&err);
343344
if ($haserr(err))
344345
{
345346
dir_data->lasterrno=getErrno(err);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp