pkgdb: flush uncompressed pkgdb for performance reasons.

This commit is contained in:
Juan RP 2012-09-29 20:28:39 +02:00
parent 3222fce866
commit 092be04783

View File

@ -91,7 +91,7 @@ xbps_pkgdb_update(struct xbps_handle *xhp, bool flush)
if (xhp->pkgdb && flush) {
/* flush dictionary to storage */
if (!prop_array_externalize_to_zfile(xhp->pkgdb, plist)) {
if (!prop_array_externalize_to_file(xhp->pkgdb, plist)) {
free(plist);
return errno;
}