pkg_dbg: now accept both flags and level
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_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
@@ -619,7 +619,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -632,7 +632,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -721,7 +721,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -792,10 +792,10 @@ add_repo_obj(const ucl_object_t *obj, const char *file, pkg_init_flags flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -810,10 +810,10 @@ walk_repo_obj(const ucl_object_t *obj, const char *file, pkg_init_flags flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -864,7 +864,7 @@ load_repo_file(int dfd, const char *repodir, const char *repofile,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -917,7 +917,7 @@ load_repo_files(const char *repodir, pkg_init_flags flags, struct os_info *oi)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1374,7 +1374,7 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1404,7 +1404,7 @@ pkg_ini(const char *path, const char *reposdir, pkg_init_flags flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_event.c
@@ -993,22 +993,38 @@ pkg_debug(int level, const char *fmt, ...)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/private/event.h
@@ -98,7 +98,7 @@ void pkg_emit_incremental_update(const char *reponame, int processed);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|