repos: only allocate once per repos the file path
modified libpkg/private/pkg.h
@@ -557,6 +557,7 @@ struct pkg_repo {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/repo/binary/binary_private.h
@@ -671,6 +671,6 @@ void pkg_repo_binary_finalize_prstatements(void);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
modified libpkg/repo/binary/common.c
@@ -231,14 +231,13 @@ pkg_repo_binary_run_prstatement(sql_prstmt_index s, ...)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/init.c
@@ -303,7 +303,7 @@ pkg_repo_binary_open(struct pkg_repo *repo, unsigned mode)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -507,7 +507,7 @@ pkg_repo_binary_access(struct pkg_repo *repo, unsigned mode)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/update.c
@@ -701,7 +701,7 @@ pkg_repo_binary_update(struct pkg_repo *repo, bool force)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|