[PATCH] ws2_32: Improved error handling in gethostname when name length is insufficient.
Qian Hong
qhong at codeweavers.com
Wed Mar 11 08:45:40 CDT 2015
Windows supports NetBIOS name length max to 15, don't fail silently for
Windows application with insufficient name length.
---
dlls/ws2_32/socket.c | 31 +++++++++++++++++++++++++------
dlls/ws2_32/tests/sock.c | 29 +++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-Improved-error-handling-in-gethostname-when-nam.txt
Type: text/x-patch
Size: 2740 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150311/2e2f9d98/attachment.bin>
More information about the wine-patches
mailing list