debug: implement PKG_DEBUG_FLAGS
modified libpkg/fetch.c
@@ -249,7 +249,7 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, int dest, struct fetch_item *fi,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -292,7 +292,7 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, int dest, struct fetch_item *fi,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/fetch_file.c
@@ -95,9 +95,9 @@ stdio_fetch(struct pkg_repo *repo, int dest, struct fetch_item *fi)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/fetch_libcurl.c
@@ -149,9 +149,9 @@ curl_do_fetch(struct curl_userdata *data, CURL *cl, struct curl_repodata *cr)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -212,7 +212,7 @@ http_getmirrors(struct pkg_repo *r, struct curl_repodata *cr)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -247,7 +247,7 @@ http_getmirrors(struct pkg_repo *r, struct curl_repodata *cr)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -287,7 +287,7 @@ int
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -378,7 +378,7 @@ curl_fetch(struct pkg_repo *repo, int dest, struct fetch_item *fi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -435,16 +435,16 @@ do_retry:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/fetch_libfetch.c
@@ -117,7 +117,7 @@ fetch_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -172,7 +172,7 @@ fetch_connect(struct pkg_repo *repo, struct url *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -225,7 +225,7 @@ fetch_open(struct pkg_repo *repo, struct url *u, off_t *sz, time_t *t)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/fetch_ssh.c
@@ -64,7 +64,7 @@ tcp_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -114,12 +114,12 @@ tcp_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -182,7 +182,7 @@ ssh_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -201,7 +201,7 @@ ssh_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -215,12 +215,12 @@ ssh_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -252,7 +252,7 @@ pkgprotocol_open(struct pkg_repo *repo, struct fetch_item *fi,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -261,13 +261,13 @@ pkgprotocol_open(struct pkg_repo *repo, struct fetch_item *fi,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -414,7 +414,7 @@ ssh_write(void *data, const char *buf, int l)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -428,7 +428,7 @@ ssh_read(void *data, char *buf, int len)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -442,7 +442,7 @@ ssh_read(void *data, char *buf, int len)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -468,17 +468,17 @@ ssh_read(void *data, char *buf, int len)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -1,5 +1,5 @@
|
|
| - | |
| + | |
|
|
|
|
|
@@ -507,6 +507,12 @@ static struct config_entry c[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -989,6 +995,41 @@ type_to_string(int type)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1344,6 +1385,9 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_event.c
@@ -993,6 +993,26 @@ pkg_debug(int level, const char *fmt, ...)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/event.h
@@ -1,5 +1,5 @@
|
|
| - | |
| + | |
|
|
|
|
|
@@ -50,6 +50,21 @@ void pkg_emit_pkg_errno(pkg_error_t err, const char *func, const char *arg);
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -79,6 +94,7 @@ void pkg_emit_incremental_update(const char *reponame, int processed);
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -150,6 +150,7 @@ struct pkg_stringlist_iterator {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/private/utils.h
@@ -39,6 +39,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|