Subject: CVS commit: othersrc/bootstrap-pkgsrc/pkg_install
To: None <source-changes@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: source-changes
Date: 03/16/2003 21:39:56
Module Name:	othersrc
Committed By:	jschauma
Date:		Sun Mar 16 19:39:56 UTC 2003

Modified Files:
	othersrc/bootstrap-pkgsrc/pkg_install/admin: main.c
	othersrc/bootstrap-pkgsrc/pkg_install/info: perform.c
	othersrc/bootstrap-pkgsrc/pkg_install/lib: lib.h.in pen.c pkgdb.c
	    version.h

Log Message:
Sync with main sources:

Date:           Sat Mar 15 20:49:27 UTC 2003
Introduce a pkgdb_dump() function, which dumps the cache file of
(filename, package) pairs.
Modify calling functions to use pkgdb_dump() directly, rather than
sequences of
	pkgdb_open
	{ pkgdb_iter, pkgdb_retrieve }
	pkgdb_close
calls.
Remove the now unnecessary pkgdb_iter function.

Date:           Sat Mar 15 20:50:15 UTC 2003
Bump version string for pkgdb_dump changes.

Date:           Sat Mar 15 20:54:26 UTC 2003
Catch one more place that could result in Current not being set properly
(and thus in the execution of "rm -fr /") if ^C is pressed at the wrong time.

See also PR 19436.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 othersrc/bootstrap-pkgsrc/pkg_install/admin/main.c
cvs rdiff -r1.6 -r1.7 othersrc/bootstrap-pkgsrc/pkg_install/info/perform.c
cvs rdiff -r1.10 -r1.11 othersrc/bootstrap-pkgsrc/pkg_install/lib/lib.h.in
cvs rdiff -r1.7 -r1.8 othersrc/bootstrap-pkgsrc/pkg_install/lib/pen.c
cvs rdiff -r1.8 -r1.9 othersrc/bootstrap-pkgsrc/pkg_install/lib/pkgdb.c
cvs rdiff -r1.6 -r1.7 othersrc/bootstrap-pkgsrc/pkg_install/lib/version.h

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