Fix access check for a repo.
modified libpkg/pkgdb.c
@@ -928,7 +928,7 @@ pkgdb_open_multirepos(const char *dbdir, struct pkgdb *db,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -987,8 +987,8 @@ file_mode_insecure(const char *path, bool install_as_user)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1002,7 +1002,7 @@ database_access(unsigned mode, const char* dbdir, const char *dbname)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1089,17 +1089,17 @@ pkgdb_access(unsigned mode, unsigned database)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1112,7 +1112,7 @@ pkgdb_access(unsigned mode, unsigned database)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkgdb.h
@@ -193,4 +193,13 @@ int pkgdb_begin_solver(struct pkgdb *db);
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
modified libpkg/repo/binary/binary.c
@@ -26,7 +26,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/binary.h
@@ -33,5 +33,6 @@ extern struct pkg_repo_ops pkg_repo_binary_ops;
|
|
|
|
|
|
| + | |
|
|
|
modified libpkg/repo/binary/init.c
@@ -239,3 +239,18 @@ pkg_repo_binary_close(struct pkg_repo *repo, bool commit)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified libpkg/repo/binary/update.c
@@ -452,7 +452,7 @@ cleanup:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|