[PATCH 3/3] kernel32: Added support for MOVEFILE_WRITE_THROUGH in MoveFileWithProgress
Alexandre Julliard
julliard at winehq.org
Wed Feb 7 13:26:58 CST 2018
Oded Elisha <oded123456 at gmail.com> writes:
> @@ -1404,6 +1406,10 @@ BOOL WINAPI MoveFileWithProgressW( LPCWSTR
> source, LPCWSTR dest, } }
>
> + if (should_sync) {
> + sync();
> + }
> +
That's not the right way to flush a file. You probably want something
like FlushFileBuffers.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list