Alexandre Julliard : ntdll: Serial with ReadIntervalTimeout set to MAXDWORD should return immediately even if nothing was read .
Alexandre Julliard
julliard at winehq.org
Wed May 7 07:04:17 CDT 2008
Module: wine
Branch: master
Commit: 2e3287bc6a7984df5d204ea666a53405cd2242f8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e3287bc6a7984df5d204ea666a53405cd2242f8
Author: Alexandre Julliard <julliard at 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 */
{
More information about the wine-cvs
mailing list