Speeds up upgrades by using hashtable to detect files/dirs that should be kept
modified libpkg/pkg.c
@@ -1150,3 +1150,23 @@ pkg_is_installed(struct pkgdb *db, const char *origin)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified libpkg/pkg.h
@@ -665,6 +665,8 @@ const char *pkg_file_uname(struct pkg_file const * const);
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_jobs.c
@@ -126,32 +126,21 @@ pkg_jobs(struct pkg_jobs *j, struct pkg **pkg)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -125,7 +125,7 @@ struct pkg_file {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -135,7 +135,7 @@ struct pkg_dir {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|