Dmitry Timoshkov <dmi...@baikal.ru> writes:

> @@ -979,6 +986,12 @@ NTSTATUS WINAPI NtWriteFile(HANDLE hFile, HANDLE hEvent,
>              goto done;
>          }
>  
> +        if (append_write)
> +        {
> +            offset_eof.QuadPart = (LONGLONG)-1; /* FILE_WRITE_TO_END_OF_FILE 
> */
> +            offset = &offset_eof;
> +        }
> +

Please add a test for the file position after the write, to show that
this is the correct behavior.

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to