pkg_fetch_file now takes a mkstemp(3) pattern
modified libpkg/fetch.c
@@ -82,13 +82,17 @@ gethttpmirrors(struct pkg_repo *repo, const char *url) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -530,8 +534,10 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -550,7 +556,8 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -567,7 +574,7 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -1235,7 +1235,7 @@ pkg_change_t pkg_version_change(const struct pkg * restrict);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified pkg/audit.c
@@ -150,9 +150,9 @@ fetch_and_extract(const char *src, const char *dest, bool xml)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|