Subject: CVS commit: src/sys/miscfs/fdesc
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 09/14/2005 14:53:48
Module Name:	src
Committed By:	christos
Date:		Wed Sep 14 14:53:48 UTC 2005

Modified Files:
	src/sys/miscfs/fdesc: fdesc_vnops.c

Log Message:
When readdir() is called from vfs_getcwd, uio->uio_procp is NULL. Deal with
that. Fixes 'cd /dev/fd && pwd'


To generate a diff of this commit:
cvs rdiff -r1.86 -r1.87 src/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.