Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 07/29/2000 22:15:40
Module Name:	basesrc
Committed By:	christos
Date:		Sat Jul 29 19:15:40 UTC 2000

Modified Files:
	basesrc/usr.sbin/sa: pdb.c usrdb.c

Log Message:
- detect duplicate keys when initializing the database. abort if too many
  duplicate keys are found indicating a corrupted database (avoids problem
  where sa would loop forever).
- add open flags and mode in dbopen in case someone wants to debug...


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 basesrc/usr.sbin/sa/pdb.c basesrc/usr.sbin/sa/usrdb.c

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