Avoid getcwd usage when parsing manifests
modified libpkg/pkg_manifest.c
@@ -3,7 +3,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,6 +35,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -871,22 +872,31 @@ pkg_parse_manifest_file(struct pkg *pkg, const char *file, struct pkg_manifest_k
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -3,7 +3,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -36,6 +36,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -943,7 +944,7 @@ external_keyword(struct plist *plist, char *keyword, char *line, struct file_att
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -957,14 +958,22 @@ external_keyword(struct plist *plist, char *keyword, char *line, struct file_att
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg_repo.c
@@ -1010,18 +1010,27 @@ pkg_repo_load_fingerprint(const char *dir, const char *filename)
|
|
|
|
|
|
| + | |
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|