[PATCH 4/4] ntdll: Set IO_STATUS_BLOCK on non-blocking NtFlushBuffersFile success.

Jacek Caban jacek at codeweavers.com
Sat Oct 20 12:19:17 CDT 2018


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---

I wouldn't add iosb check (esp. virtual_check_buffer_for_write one), but
we already have tests that would crash otherwise. Although I could use
__TRY/__EXCEPT when setting those values, technically we should probably
still check that in blocking case (and fail early, like in the patch).

 dlls/ntdll/file.c       | 21 ++++++++++++++-------
 dlls/ntdll/tests/file.c |  2 --
 dlls/ntdll/tests/pipe.c |  2 +-
 3 files changed, 15 insertions(+), 10 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-ntdll-Set-IO_STATUS_BLOCK-on-non-blocking-success.diff
Type: text/x-patch
Size: 3266 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20181020/078e073c/attachment.bin>


More information about the wine-devel mailing list