From 94744ede6f7dfa6e4fed026eef5a19d985726fee Mon Sep 17 00:00:00 2001 From: Francesco Cozzuto Date: Mon, 17 Nov 2025 22:34:38 +0100 Subject: [PATCH] Use mocked version of MoveFileExW in wal.c --- src/wal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wal.c b/src/wal.c index dfc98e0..c8e36f7 100644 --- a/src/wal.c +++ b/src/wal.c @@ -186,7 +186,7 @@ static int swap_file(WAL *wal) } // MOVEFILE_REPLACE_EXISTING allows atomic overwrite - if (!MoveFileExW(temp_path_w, old_path_w, MOVEFILE_REPLACE_EXISTING)) { + if (!sys_MoveFileExW(temp_path_w, old_path_w, MOVEFILE_REPLACE_EXISTING)) { file_unlock(temp_handle); file_close(temp_handle); remove_file_or_dir(temp_path);