Subject: CVS commit: src/sys/kern
To: None <>
From: Christos Zoulas <>
List: source-changes
Date: 08/03/2006 22:51:05
Module Name:	src
Committed By:	christos
Date:		Thu Aug  3 22:51:05 UTC 2006

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

Log Message:
PR/34129: Andreas Gustafsson: Nonblocking write to pty can return 0
If we cannot write on the slave side, always return EWOULDBLOCK in the
non-blocking case, because we don't know that the buffer we started
writing is actually in a system call boundary.

To generate a diff of this commit:
cvs rdiff -r1.186 -r1.187 src/sys/kern/tty.c

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