[patch] Overlapped I/O fix
Paul Rupe
prupe at myrealbox.com
Fri Jul 11 12:13:43 CDT 2003
An earlier patch
<http://www.winehq.com/hypermail/wine-cvs/2003/06/0232.html> caused
overlapped reads and writes to fail in Hamster. I filed a bug report
(#1553), but was eventually able to find the problem myself.
The return value of register_new_async differs from the status it sets
inside the async_private structure, but the patch was overwriting the
latter with the former. This caused Wine to return STATUS_SUCCESS instead
of STATUS_PENDING and so the caller always read/wrote 0 bytes.
License: X11, LGPL
Changelog:
Paul Rupe <prupe at myrealbox.com>
register_new_async sets status already. Do not overwrite it with the
function's return value
--
Paul Rupe <prupe at myrealbox.com> "She smiled, in the end."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntdll-file-20030705.dff
Type: text/x-diff
Size: 1652 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030711/9fe513e2/ntdll-file-20030705.bin
More information about the wine-patches
mailing list