Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 05/29/2003 18:30:00
Module Name:	src
Committed By:	nathanw
Date:		Thu May 29 18:30:00 UTC 2003

Modified Files:
	src/lib/libc/gen: opendir.c

Log Message:
Allocate and initialize dirp->dd_lock before calling telldir(), which
will try to lock it.

Addresses PR lib/21712.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/lib/libc/gen/opendir.c

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