Stop using of mkstemp for regular files.
modified libpkg/fetch.c
@@ -86,15 +86,14 @@ gethttpmirrors(struct pkg_repo *repo, const char *url) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
|
|
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -125,6 +124,44 @@ pkg_fetch_file(struct pkg_repo *repo, const char *url, char *dest, time_t t)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -431,7 +468,8 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -449,7 +487,7 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest, time_t *t
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/libpkg.ver
@@ -60,6 +60,7 @@ global:
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -1331,6 +1331,11 @@ pkg_change_t pkg_version_change_between(const struct pkg * pkg1, const struct pk
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_audit.c
@@ -273,12 +273,14 @@ pkg_audit_fetch(const char *src, const char *dest)
|
|
|
|
|
|
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|