Subject: CVS commit: src/usr.bin/tip
To: None <source-changes@NetBSD.org>
From: Gavan Fantom <gavan@netbsd.org>
List: source-changes
Date: 12/09/2005 03:15:42
Module Name:	src
Committed By:	gavan
Date:		Fri Dec  9 03:15:42 UTC 2005

Modified Files:
	src/usr.bin/tip: tipout.c

Log Message:
Treat EOF the same as EIO. Prevents spinning if an EOF condition is
encountered, such as a USB serial device being unplugged.

Instead of spinning, the process reading from the serial line will exit,
leaving the process reading from the local terminal to exit when it notices
that its child has gone away.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/usr.bin/tip/tipout.c

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