Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/pkg_install



Module Name:    src
Committed By:   agc
Date:           Sat Mar 15 20:49:27 UTC 2003

Modified Files:
        src/usr.sbin/pkg_install/admin: main.c
        src/usr.sbin/pkg_install/info: perform.c
        src/usr.sbin/pkg_install/lib: lib.h pkgdb.c

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


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/usr.sbin/pkg_install/admin/main.c
cvs rdiff -r1.43 -r1.44 src/usr.sbin/pkg_install/info/perform.c
cvs rdiff -r1.48 -r1.49 src/usr.sbin/pkg_install/lib/lib.h
cvs rdiff -r1.13 -r1.14 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.




Home | Main Index | Thread Index | Old Index