<div>why not simply setting send_completion to cvalue instead of TRUE, and remove the now unneeded test to cvalue ?</div>
<div>- send_completion = TRUE;</div>
<div>+ send_completion = cvalue != 0;</div>
<div>....</div>
<div>- if (send_completion &amp;&amp; cvalue) ....</div>
<div>+ if (send_completion) ....</div>
<div><br>A+<br><br></div>
<div class="gmail_quote">2010/6/21 Andrey Turkin <span dir="ltr">&lt;<a href="mailto:andrey.turkin@gmail.com">andrey.turkin@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Long overdue patch to fix bug 11188 - make sure to send i/o completions<br>after all interactions with i/o status block are performed.<br>
---<br> dlls/ntdll/file.c |   24 ++++++++++++++++++++----<br> 1 files changed, 20 insertions(+), 4 deletions(-)<br><br><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>Eric Pouech<br>