Avoid getcwd calls
modified libpkg/pkg.c
@@ -1843,7 +1843,7 @@ pkg_message_from_str(struct pkg *pkg, const char *str, size_t len)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_manifest.c
@@ -811,7 +811,7 @@ pkg_parse_manifest(struct pkg *pkg, char *buf, size_t len, struct pkg_manifest_k
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -127,7 +127,7 @@ keyword_open_schema(void)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -965,7 +965,7 @@ external_keyword(struct plist *plist, char *keyword, char *line, struct file_att
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo.c
@@ -772,7 +772,7 @@ pkg_repo_meta_extract_pubkey(int fd, void *ud)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1020,7 +1020,7 @@ pkg_repo_load_fingerprint(const char *dir, const char *filename)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo_meta.c
@@ -129,7 +129,7 @@ pkg_repo_meta_open_schema_v1()
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|