Re: [PATCH] ntdll: Finish serial reads of size 0 immediately.
15 Feb
2016
15 Feb
'16
2:36 p.m.
Alex Henrie <alexhenrie24(a)gmail.com> writes:
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index 3883e5a..1e37ce3 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -883,7 +883,8 @@ NTSTATUS WINAPI NtReadFile(HANDLE hFile, HANDLE hEvent, status = length ? STATUS_END_OF_FILE : STATUS_SUCCESS; goto done; case FD_TYPE_SERIAL: - break; + status = STATUS_SUCCESS;
What if the requested size wasn't 0? That probably needs a test case too. -- Alexandre Julliard julliard(a)winehq.org
3591
Age (days ago)
3591
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard