Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 03/12/2005 18:43:42
Module Name:	src
Committed By:	christos
Date:		Sat Mar 12 18:43:42 UTC 2005

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

Log Message:
PR/29679: Gunnar.Ritter: fstat() blksize on the write side of the pipe returns
0. Fix it by returning the peer's block size.
XXX: This is the minimal fix. Probably the buffer size should be initialized
somewhere else, but probably this would need some more code changes.


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 src/sys/kern/sys_pipe.c

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