Prefer double linked list when appending data
modified libpkg/fetch.c
@@ -521,9 +521,9 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest,
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.c
@@ -103,8 +103,8 @@ pkg_free(struct pkg *pkg)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -731,7 +731,7 @@ pkg_addfile_attr(struct pkg *pkg, const char *path, const char *sum,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -838,7 +838,7 @@ pkg_adddir_attr(struct pkg *pkg, const char *path, const char *uname,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1013,7 +1013,7 @@ pkg_addoption(struct pkg *pkg, const char *key, const char *value)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1047,7 +1047,7 @@ pkg_addoption_default(struct pkg *pkg, const char *key,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1081,7 +1081,7 @@ pkg_addoption_description(struct pkg *pkg, const char *key,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1148,7 +1148,7 @@ pkg_addconflict(struct pkg *pkg, const char *uniqueid)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1229,7 +1229,7 @@ pkg_kv_add(struct pkg_kv **list, const char *key, const char *val, const char *t
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1294,19 +1294,19 @@ pkg_list_free(struct pkg *pkg, pkg_list list) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1327,7 +1327,7 @@ pkg_list_free(struct pkg *pkg, pkg_list list) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1774,7 +1774,7 @@ pkg_message_from_ucl(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1810,7 +1810,7 @@ pkg_message_from_ucl(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1824,7 +1824,7 @@ pkg_message_from_ucl(struct pkg *pkg, const ucl_object_t *obj)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -118,7 +118,7 @@ typedef void * pkg_iter;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_config.c
@@ -689,7 +689,7 @@ add_repo(const ucl_object_t *obj, struct pkg_repo *r, const char *rname, pkg_ini
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_jobs_conflicts.c
@@ -171,7 +171,7 @@ pkg_conflicts_register(struct pkg *p1, struct pkg *p2, enum pkg_conflict_type ty
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -182,7 +182,7 @@ pkg_conflicts_register(struct pkg *p1, struct pkg *p2, enum pkg_conflict_type ty
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -266,7 +266,7 @@ pkg_conflicts_register_unsafe(struct pkg *p1, struct pkg *p2,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -282,7 +282,7 @@ pkg_conflicts_register_unsafe(struct pkg *p1, struct pkg *p2,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -740,7 +740,7 @@ populate_keywords(struct plist *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -748,8 +748,7 @@ populate_keywords(struct plist *p)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -924,7 +923,7 @@ apply_keyword_file(ucl_object_t *obj, struct plist *p, char *line, struct file_a
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_create.c
@@ -738,7 +738,7 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -336,7 +336,7 @@ struct pkg_message {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -350,7 +350,7 @@ struct pkg_conflict {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -379,7 +379,7 @@ struct pkg_file {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -392,7 +392,7 @@ struct pkg_dir {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -400,7 +400,7 @@ struct pkg_option {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -595,7 +595,7 @@ struct file_attr {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|