Module: wine Branch: master Commit: 2e3287bc6a7984df5d204ea666a53405cd2242f8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e3287bc6a7984df5d204ea666...
Author: Alexandre Julliard julliard@winehq.org Date: Wed May 7 13:29:18 2008 +0200
ntdll: Serial with ReadIntervalTimeout set to MAXDWORD should return immediately even if nothing was read.
---
dlls/ntdll/file.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index ce94917..fd72a61 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -433,7 +433,7 @@ static NTSTATUS get_io_timeouts( HANDLE handle, enum server_fd_type type, ULONG timeouts->total += count * st.ReadTotalTimeoutMultiplier; } else if (st.ReadIntervalTimeout == MAXDWORD) - timeouts->interval = 0; + timeouts->interval = timeouts->total = 0; } else /* write */ {