newlib/winsup/cygwin/release/1.7.30
Corinna Vinschen 8e22028339 * 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.
2014-04-24 13:44:23 +00:00

37 lines
1.3 KiB
Plaintext

What's new:
-----------
- Introduce reading passwd/group entries directly from SAM/AD, thus allowing
to do without /etc/passwd and /etc/group files. Introduce /etc/nsswitch.conf
file to configure passwd/group handling.
What changed:
-------------
- Windows defines the IPV6_TCLASS option, but when using it in setsockopt
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
---------
- Workaround a problem following native symlinks.
Fixes: http://cygwin.com/ml/cygwin/2014-04/msg00384.html
- 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