Avoid possible race condition when using mktemp()
modified libpkg/fetch.c
@@ -29,10 +29,9 @@ pkg_fetch_file(const char *url, const char *dest)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|