Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files/lib
To: None <pkgsrc-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: pkgsrc-changes
Date: 01/07/2003 08:42:28
Module Name:	pkgsrc
Committed By:	grant
Date:		Tue Jan  7 06:42:28 UTC 2003

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/lib: pkgdb.c

Log Message:
sync with src:
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.

Also fix some whitespace nits.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/pkg_install/files/lib/pkgdb.c

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