Fix detecting uptodate fetched files after dropping privileges
modified libpkg/fetch.c
@@ -546,9 +546,6 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest,
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -562,10 +559,14 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -730,7 +731,9 @@ cleanup:
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|