Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Filter out a+ and a- modes
Baptiste Daroussin committed 11 years ago
commit 69744f4d7c5b2f0c95f8761ff61adefd8f50d99e
parent 1790d40
1 file changed +2 -1
modified libpkg/pkg_ports.c
@@ -180,7 +180,8 @@ parse_mode(const char *str)
		return (NULL);

	if (strstr(str, "u+") || strstr(str, "o+") || strstr(str, "g+") ||
-
	    strstr(str, "u-") || strstr(str, "o-") || strstr(str, "g-"))
+
	    strstr(str, "u-") || strstr(str, "o-") || strstr(str, "g-") ||
+
	    strstr(str, "a+") || strstr(str, "a-"))
		return (NULL);

	return (setmode(str));