[patch] Handling non-winsock flags in fhandler_socket.cc
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Dec 8 10:14:00 GMT 2005
On Dec 7 23:19, Pekka Pessi wrote:
> 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().
Thanks for the patch. Unfortunately it's missing a ChangeLog entry and
it didn't work OOTB since it was missing curly braces, but I took the
freedom to fix it up. The change to fhandler_socket::recvfrom was not
necessary since flags is masked at the start of the function. However,
maybe it comes handy to keep the original flags value at one point, so
I removed this masking at the function start.
Please note that I can take this patch only because it's relatively
small. If you would like to send bigger patches or extensions to the
Cygwin functionality at one point, you'll have to sign a copyright
assignment form and send it to Red Hat. Please read
http://cygwin.com/contrib.html for more details about contributing.
Other than that, patch applied with changes.
Thanks again,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat, Inc.
More information about the Cygwin-patches
mailing list