diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-08-01 13:00:53 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-08-01 13:00:53 +0400 |
commit | e665b0aab220943787f42aa12690ff8f5e46f135 (patch) | |
tree | 2322fde4f99bbccdf2fe89b75805be4a1c4389e9 /winsup/cygwin/ChangeLog | |
parent | 01d9574ddd98856285c85b6f71a0066685fe4790 (diff) |
* fhandler.h (fhandler_socket::recv_internal): Add bool parameter.
Add regparm attribute.
* fhandler_socket.cc (fhandler_socket::read): Call recv_internal with
second parameter set to false.
(fhandler_socket::readv): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recv_internal): Convert use_recvmsg from local
variable to parameter. Use as request for using WSARecvMsg. Only
fail if WSARecvMsg can't be loaded and wsamsg->Control.len > 0,
otherwise use WSARecv{From}. Restrict dwFlags to MSG_PEEK when using
WSARecvMsg.
(fhandler_socket::recvmsg): Prefer using WSARecvMsg. Change priority
of tests for not using WSARecvMsg. Call recv_internal with second
parameter set accordingly.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 74068075f..9a3aa3e8c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,22 @@ 2012-08-01 Corinna Vinschen <corinna@vinschen.de> + * fhandler.h (fhandler_socket::recv_internal): Add bool parameter. + Add regparm attribute. + * fhandler_socket.cc (fhandler_socket::read): Call recv_internal with + second parameter set to false. + (fhandler_socket::readv): Ditto. + (fhandler_socket::recvfrom): Ditto. + (fhandler_socket::recv_internal): Convert use_recvmsg from local + variable to parameter. Use as request for using WSARecvMsg. Only + fail if WSARecvMsg can't be loaded and wsamsg->Control.len > 0, + otherwise use WSARecv{From}. Restrict dwFlags to MSG_PEEK when using + WSARecvMsg. + (fhandler_socket::recvmsg): Prefer using WSARecvMsg. Change priority + of tests for not using WSARecvMsg. Call recv_internal with second + parameter set accordingly. + +2012-08-01 Corinna Vinschen <corinna@vinschen.de> + * Makefile.in: Semi-revert patch from 2012-07-01, assuming the previous patch to etc::dir_changed fixes the underlying issue. |