pkg_add: replace stringlist with c_charv_t
modified libpkg/pkg_add.c
@@ -421,7 +421,7 @@ reopen_tempdir(int rootfd, struct tempdir *t)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -451,7 +451,7 @@ close_tempdir(struct tempdir *t)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -501,7 +501,7 @@ create_dir(struct pkg *pkg, struct pkg_dir *d, tempdirs_t *tempdirs, stringlist_
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -547,7 +547,7 @@ try_mkdir(int fd, const char *path)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -594,7 +594,7 @@ retry:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -626,7 +626,7 @@ do_extract_symlink(struct pkg *pkg, struct archive *a __unused, struct archive_e
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -702,7 +702,7 @@ retry:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -749,7 +749,7 @@ retry:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -842,7 +842,7 @@ create_regfile(struct pkg *pkg, struct pkg_file *f, struct archive *a,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -875,14 +875,14 @@ do_extract_regfile(struct pkg *pkg, struct archive *a, struct archive_entry *ae,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1357,11 +1357,12 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1464,7 +1465,7 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1563,7 +1564,7 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1662,9 +1663,10 @@ pkg_add_fromdir(struct pkg *pkg, const char *src)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -1843,7 +1845,7 @@ pkg_add_fromdir(struct pkg *pkg, const char *src)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/utils.h
@@ -116,7 +116,7 @@ char *rtrimspace(char *buf);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/utils.c
@@ -984,7 +984,7 @@ json_escape(const char *str)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1003,8 +1003,8 @@ open_tempdir(int rootfd, const char *path, stringlist_t *symlinks_allowed)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|