Wed Jun 18 16:37:37 CDT 2008
asynchronous, or overlapped."
So the sanest fix is to just remove that FILE_SYNCHRONOUS_IO_NONALERT flag
- it clearly contradicts the specs.
I only added a check to still use it if the timeout is zero, as async
operations are impossible in that case anyway and supposedly there would
be a performance gain. I have already tested the results of ReadFile with
zero timeout, and the behaviour matches Windows in both cases.
More information about the wine-patches