* fhandler_socket.cc (fhandler_socket::recvfrom): Eliminate flags

not understood by WinSock.
	(fhandler_socket::sendto): Ditto.  If WinSock sendto() returns
	WSAESHUTDOWN, change errno to EPIPE and raise SIGPIPE if MSG_NOSIGNAL
	isn't set in flags.
	* include/cygwin/socket.h: Define MSG_WINMASK and MSG_NOSIGNAL.
	* include/cygwin/version.h: Bump API minor number.
This commit is contained in:
Corinna Vinschen
2002-08-28 10:18:20 +00:00
parent 667599f478
commit 281d8a3232
4 changed files with 26 additions and 3 deletions

View File

@ -158,12 +158,13 @@ details. */
58: Export memalign, valloc, malloc_trim, malloc_usable_size, mallopt,
malloc_stats
59: getsid
60: MSG_NOSIGNAL
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 59
#define CYGWIN_VERSION_API_MINOR 60
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible