Subject: CVS commit: syssrc/sys/miscfs/fdesc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 04/02/2002 20:46:09
Module Name: syssrc
Committed By: jdolecek
Date: Tue Apr 2 17:46:08 UTC 2002
Modified Files:
syssrc/sys/miscfs/fdesc: fdesc_vnops.c
Log Message:
Changes to make it less likely to need to be revisited later again:
* fdesc_attr(): don't panic for 'unknown' descriptor types, rather use
(*fp->f_ops->fo_stat)() hook, as for DTYPE_SOCKET and DTYPE_PIPE
XXX perhaps use different vnode type than VBAD for these?
* fdesc_setattr(): just return 0 regardless of type, rather than paniccing
for 'unknown' descriptor types
To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 syssrc/sys/miscfs/fdesc/fdesc_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.