ntdll: fix race in NtRead/WriteFile
Eric Pouech
eric.pouech at orange.fr
Mon Jun 21 07:53:51 CDT 2010
why not simply setting send_completion to cvalue instead of TRUE, and remove
the now unneeded test to cvalue ?
- send_completion = TRUE;
+ send_completion = cvalue != 0;
....
- if (send_completion && cvalue) ....
+ if (send_completion) ....
A+
2010/6/21 Andrey Turkin <andrey.turkin at gmail.com>
> Long overdue patch to fix bug 11188 - make sure to send i/o completions
> after all interactions with i/o status block are performed.
> ---
> dlls/ntdll/file.c | 24 ++++++++++++++++++++----
> 1 files changed, 20 insertions(+), 4 deletions(-)
>
>
>
>
>
--
--
Eric Pouech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20100621/8625eb52/attachment.htm>
More information about the wine-devel
mailing list