diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-06-17 08:23:17 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-06-17 08:23:17 +0000 |
commit | 3477392bd7f3d348d2b35b36a51368f05530e841 (patch) | |
tree | 780d85406b89bb6745b6795ea068a44b1b06dc98 | |
parent | 6a451dce26d8e5369c79f455f105e0c46ddc8bcb (diff) | |
download | newlib-3477392bd7f3d348d2b35b36a51368f05530e841.zip newlib-3477392bd7f3d348d2b35b36a51368f05530e841.tar.gz newlib-3477392bd7f3d348d2b35b36a51368f05530e841.tar.bz2 |
* fhandler_socket.cc (fhandler_socket::recv_internal): Mark WSARecvMsg
as NO_COPY.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bd9c7f9..4488c86 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-06-17 Corinna Vinschen <corinna@vinschen.de> + + * fhandler_socket.cc (fhandler_socket::recv_internal): Mark WSARecvMsg + as NO_COPY. + 2009-06-16 Christopher Faylor <me+cygwin@cgf.cx> * fhandler.cc (fhandler_base::read_overlapped): Use a better variable diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 93af60e..d2e4ac2 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -1310,7 +1310,7 @@ fhandler_socket::recv_internal (LPWSAMSG wsamsg) LPWSABUF wsabuf = wsamsg->lpBuffers; ULONG wsacnt = wsamsg->dwBufferCount; bool use_recvmsg = false; - static LPFN_WSARECVMSG WSARecvMsg; + static NO_COPY LPFN_WSARECVMSG WSARecvMsg; bool waitall = !!(wsamsg->dwFlags & MSG_WAITALL); bool dontwait = !!(wsamsg->dwFlags & MSG_DONTWAIT); |