Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Anders Magnusson <ragge@netbsd.org>
List: source-changes
Date: 05/18/2004 11:31:49
Module Name:	src
Committed By:	ragge
Date:		Tue May 18 11:31:49 UTC 2004

Modified Files:
	src/sys/kern: uipc_syscalls.c

Log Message:
Fix connect() "bug": If connect() is interrupted by a signal, the connection
attempt is terminated,  so if a process needs frequent timer interrupts
it can't ever connect() to a machine far away.

Bug found by Erik Lundgren, bugfix (for the same problem) is similar to
the way FreeBSD solved the same problem.

As a side effect, the new connect() behaviour conformes to Posix.


To generate a diff of this commit:
cvs rdiff -r1.86 -r1.87 src/sys/kern/uipc_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.