src/winsup/cygwin ChangeLog.64bit fhandler_soc ...

2013-04-08 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cygwin-64bit-branch
Changes by: cori...@sourceware.org  2013-04-08 10:33:55

Modified files:
winsup/cygwin  : ChangeLog.64bit fhandler_socket.cc net.cc 
 syscalls.cc pipe.cc 

Log message:
* fhandler_socket.cc (fhandler_socket::send_internal): Change type of
local variable res to ssize_t.
* net.cc (cygwin_sendto): Fix local variable res, containing return
value, to be ssize_t as well.
(cygwin_recvfrom): Ditto.
(cygwin_recv): Ditto.
(cygwin_send): Ditto.
(cygwin_recvmsg): Ditto.
(cygwin_sendmsg): Ditto.
* syscalls.cc (write): Ditto.
(writev): Ditto.
* pipe.cc (fhandler_pipe::open): Fix type when reading handle value to
accommodate 32 bit compiler.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.64bit.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.1.2.159r2=1.1.2.160
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.291.2.18r2=1.291.2.19
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.300.2.11r2=1.300.2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.638.2.13r2=1.638.2.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pipe.cc.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.145.2.5r2=1.145.2.6



src/winsup/cygwin ChangeLog.64bit fhandler_soc ...

2012-11-08 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cygwin-64bit-branch
Changes by: cori...@sourceware.org  2012-11-08 11:32:02

Modified files:
winsup/cygwin  : ChangeLog.64bit fhandler_socket.cc 

Log message:
* fhandler_socket.cc (fhandler_socket::ioctl): Don't use __ms_u_long
directly.  Rather only use it on 64 bit.  Add comment to explain the
problem.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.64bit.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.1.2.28r2=1.1.2.29
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.291.2.5r2=1.291.2.6



src/winsup/cygwin ChangeLog.64bit fhandler_soc ...

2012-11-07 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cygwin-64bit-branch
Changes by: cori...@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=srconly_with_tag=cygwin-64bit-branchr1=1.1.2.27r2=1.1.2.28
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.291.2.4r2=1.291.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/net.cc.diff?cvsroot=srconly_with_tag=cygwin-64bit-branchr1=1.300.2.2r2=1.300.2.3