[5/6] ntdll: Make NtReadFile always initialize a being returned IO_STATUS_BLOCK for regular files.

Alexandre Julliard julliard at winehq.org
Wed Aug 21 06:06:40 CDT 2013


Dmitry Timoshkov <dmitry at baikal.ru> writes:

> Alexandre Julliard <julliard at winehq.org> wrote:
>
>> > +        if (type == FD_TYPE_FILE)
>> > +        {
>> > +            io_status->u.Status = status;
>> > +            io_status->Information = total;
>> > +        }
>> 
>> I don't see why this would have to be specific to files.
>
> There is a test for pipes which fails if there is no this limitation.

That's not very convincing. There are many more possible code paths in
there.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list