This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog.64bit fhandler_soc ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 7 Nov 2012 20:56:05 -0000
- Subject: src/winsup/cygwin ChangeLog.64bit fhandler_soc ...
CVSROOT: /cvs/src
Module name: src
Branch: cygwin-64bit-branch
Changes by: corinna@sourceware.org 2012-11-07 20:56:05
Modified files:
winsup/cygwin : ChangeLog.64bit fhandler_socket.cc net.cc
Log message:
* fhandler_socket.cc: Throughout, fix casts to work on 64 bit. Move
calls to pthread_testcancel to upper syscall level for consistency.
Move read, readv, write, and writev methods to keep together with
equivalent recv and send methods.
(fhandler_socket::read): Compute WSAMSG buffer on 64 bit to overcome
type restriction of WSABUF len member.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::write): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Restructure for readability.
* net.cc (cygwin_sendto): Call pthread_testcancel here.
(cygwin_recvfrom): Ditto.
(cygwin_connect): Ditto.
(cygwin_accept): Ditto.
(cygwin_recv): Ditto.
(cygwin_send): Ditto.
(cygwin_recvmsg): Ditto.
(cygwin_sendmsg): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.64bit.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.1.2.27&r2=1.1.2.28
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.291.2.4&r2=1.291.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=src&only_with_tag=cygwin-64bit-branch&r1=1.300.2.2&r2=1.300.2.3