[2/5] ntdll: Make NtWriteFile handle special offset -2 same way as -1. Resend.

Alexandre Julliard julliard at winehq.org
Tue Sep 10 05:24:36 CDT 2013


Dmitry Timoshkov <dmitry at baikal.ru> writes:

> Alexandre Julliard <julliard at winehq.org> wrote:
>
>> Why do you need that?  It doesn't look to me like an improvement.
>
> IMO it simplifies the code and avoids using two different code paths
> for normal files.

At the cost of two extra seeks, plus introducing race conditions.
I don't think it's a good idea.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list