Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix .pkgconf handling
Baptiste Daroussin committed 13 years ago
commit e5447357e8247b2ca9c2545324ee26f5569f2918
parent 9fe3042
1 file changed +1 -1
modified libpkg/utils.c
@@ -379,7 +379,7 @@ is_conf_file(const char *path, char *newpath, size_t len)
	if (n < 8)
		return (0);

-
	p = &path[len - 8];
+
	p = &path[n - 8];

	if (strcmp(p, ".pkgconf") == 0) {
		strlcpy(newpath, path, len);