Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Filter out a+ and a- modes
Baptiste Daroussin committed 11 years ago
commit 69744f4d7c5b2f0c95f8761ff61adefd8f50d99e
parent 1790d40e1af346784388e6793c9173352bef3e44
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));