[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	kurt_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2006/10/18 08:43:45

Modified files:
	sys/kern       : uipc_syscalls.c 

Log message:
Return ECONNABORTED when a non-blocking socket has been shutdown() for
receives. Previously a non-blocking socket would mask this error by
returning EWOULDBLOCK and mislead applications to think accept() may
eventually succeed. Corrects a pthreads deadlock reported by Tero Koskinen
<tero.koskinen at iki.fi> okay kettenis@, theo@, markus@



Visit your host, monkey.org