Subject: PR/29679 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: 03/12/2005 18:44:02
The following reply was made to PR kern/29679; it has been noted by GNATS.
From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/29679 CVS commit: src/sys/kern
Date: Sat, 12 Mar 2005 18:43:42 +0000 (UTC)
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.