Subject: CVS commit: [netbsd-3] src/lib/libc/db/hash
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 03/30/2005 10:26:41
Module Name:	src
Committed By:	tron
Date:		Wed Mar 30 10:26:41 UTC 2005

Modified Files:
	src/lib/libc/db/hash [netbsd-3]: hash.c

Log Message:
Pull up revision 1.21 (requested by christos in ticket #78):
Don't refuse to create a hash database on 0 length files. Treat
them as new files the same way that the btree code does.  Note that
we do the fstat() after the open() instead of re-using the previous
result of the stat() to avoid races (we open with O_EXLOCK when we care).


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.20.2.1 src/lib/libc/db/hash/hash.c

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