Subject: PR/34129 CVS commit: src/sys/kern
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 08/03/2006 22:55:02
The following reply was made to PR kern/34129; it has been noted by GNATS.

From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34129 CVS commit: src/sys/kern
Date: Thu,  3 Aug 2006 22:51:05 +0000 (UTC)

 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.