Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <pkgsrc-changes@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: pkgsrc-changes
Date: 03/16/2003 21:44:11
Module Name:	pkgsrc
Committed By:	jschauma
Date:		Sun Mar 16 19:44:10 UTC 2003

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/admin: main.c
	pkgsrc/pkgtools/pkg_install/files/info: perform.c
	pkgsrc/pkgtools/pkg_install/files/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.5 -r1.6 pkgsrc/pkgtools/pkg_install/files/admin/main.c
cvs rdiff -r1.5 -r1.6 pkgsrc/pkgtools/pkg_install/files/info/perform.c
cvs rdiff -r1.3 -r1.4 pkgsrc/pkgtools/pkg_install/files/lib/lib.h.in \
    pkgsrc/pkgtools/pkg_install/files/lib/pen.c
cvs rdiff -r1.7 -r1.8 pkgsrc/pkgtools/pkg_install/files/lib/pkgdb.c
cvs rdiff -r1.4 -r1.5 pkgsrc/pkgtools/pkg_install/files/lib/version.h

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