[patch] Handling non-winsock flags in fhandler_socket.cc

Pekka Pessi ppessi@gmail.com
Wed Dec 7 21:19:00 GMT 2005


Hello,

 I found a problem with sendmsg() failng when MSG_NOSIGNAL is used. It
looks like MSG_WINMASK is used in sendto() but not in sendmsg().

The patch that should fix the problem is made against
fhandler_socket.cc revision 1.176 ("should" because I did not get
around to compile the whole shebang). It clears extra flags when
calling ws2 functions in all cases of sendmsg(), recvmsg() and
recvfrom().

--
Pekka.Pessi@{nokia.com,iki.fi}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sendmsg-flags.patch
Type: text/x-patch
Size: 1726 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20051207/ae67b35c/attachment.bin>


More information about the Cygwin-patches mailing list