Subject: CVS commit: src/usr.sbin/pkg_install/lib
To: None <source-changes@netbsd.org>
From: Alistair G. Crooks <agc@netbsd.org>
List: source-changes
Date: 01/06/2003 12:03:45
Module Name:	src
Committed By:	agc
Date:		Mon Jan  6 10:03:45 UTC 2003

Modified Files:
	src/usr.sbin/pkg_install/lib: pkgdb.c

Log Message:
In pkgdb_remove(), use the return value from (*db->del), rather than
explicitly setting and checking errno.

Do some CSE in pkgdb_iter().

Use the db access functions in the proper manner.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/usr.sbin/pkg_install/lib/pkgdb.c

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