repo: use filedescriptor to stop manipulating memory
modified libpkg/pkg_repo_create.c
@@ -420,10 +420,7 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| - | |
|
|
| - | |
|
|
|
|
|
@@ -551,23 +548,25 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|