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

Commitfbfba8c

Browse files
committed
Do a proper cleanup when ptrack.map version is incompatible
1 parentcf8e309 commitfbfba8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎engine.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,9 @@ ptrackMapInit(void)
234234
ptrack_map->version_num,ptrack_path,PTRACK_VERSION_NUM),
235235
errdetail("Deleting file \"%s\" and reinitializing ptrack map.",ptrack_path)));
236236

237-
/* Delete and try again */
238-
durable_unlink(ptrack_path,LOG);
237+
/* Clean up everything and try again */
238+
ptrackCleanFilesAndMap();
239+
239240
is_new_map= true;
240241
gotoptrack_map_reinit;
241242
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp