[PATCH 1/6] rpcrt4: Simplify rpcrt4_conn_np_write implementation.

Jacek Caban jacek at codeweavers.com
Mon May 22 09:03:46 CDT 2017


There is no need for the loop. Named pipes always do complete writes.
Also use NtWriteFile like we do for reading to not mess with GetLastError().

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
 dlls/rpcrt4/rpc_transport.c | 26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rpcrt4-Simplify-rpcrt4_conn_np_write-implementation.diff
Type: text/x-patch
Size: 1301 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170522/13d05fb7/attachment-0001.bin>


More information about the wine-patches mailing list