summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/release
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-04-24 13:44:23 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-04-24 13:44:23 +0000
commit8e220283396b4720c181695bf4046ad26e84a712 (patch)
treea46468f6b3c796f273bf10f32e87396bb09ffda7 /winsup/cygwin/release
parentef7e42ec0f684183172dc3c71b9b27a6f5cae696 (diff)
downloadcygnal-8e220283396b4720c181695bf4046ad26e84a712.tar.gz
cygnal-8e220283396b4720c181695bf4046ad26e84a712.tar.bz2
cygnal-8e220283396b4720c181695bf4046ad26e84a712.zip
* fhandler_socket.cc: On x86_64, define u_long as __ms_u_long before
including the windows headers. Explain why. (get_inet_addr): Convert ANY address to LOOPBACK address. Explain why. (fhandler_socket::evaluate_events): Forcibly set SO_ERROR socket option in case a connection attempt failed. Explain why. (fhandler_socket::ioctl): Drop x86_64 re-definition of u_long here. * fhandler_procnet.cc: On x86_64, define u_long as __ms_u_long before including the windows headers. Explain why. * net.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/release')
-rw-r--r--winsup/cygwin/release/1.7.3012
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/cygwin/release/1.7.30 b/winsup/cygwin/release/1.7.30
index 08666bad3..6d7156c0c 100644
--- a/winsup/cygwin/release/1.7.30
+++ b/winsup/cygwin/release/1.7.30
@@ -13,6 +13,10 @@ What changed:
it returns WSAENOPROTOOPT. Cygwin now ignores this error condition and
returns a fake success to the application, just as with IP_TOS for years.
+- Connect and sendto to the AF_INET and AF_INET6 ANY address is converted to
+ the LOOPBACK address, as on Linux.
+ Addresses: http://cygwin.com/ml/cygwin/2014-04/msg00510.html
+
Bug Fixes
---------
@@ -22,3 +26,11 @@ Bug Fixes
- Fix calls to readv/writev/recvmsg/sendmsg with 0 iovlen.
Fixes: http://cygwin.com/ml/cygwin/2014-04/msg00509.html
+
+- Workaround a problem with Mingw64 Winsock headers which lead to an incorrect
+ definition of struct sockaddr_in6, and which in turn broke /proc/net/if_inet6.
+
+- Workaround a Winsock bug which neglects to set the SO_ERROR socket option
+ when calling select on a dup'ed socket after an asynchronous connection
+ attempt.
+ Fixes: http://cygwin.com/ml/cygwin/2014-04/msg00510.html