Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not ignore the last entry from SUBDIR
Baptiste Daroussin committed 11 years ago
commit a25116b013afc310b63c29bc7271cc6fc710bb2c
parent 634a26689e318f87de90d3689882ae793107cafb
1 file changed +1 -1
modified src/version.c
@@ -581,7 +581,7 @@ category_new(const char *categorypath, const char *category)

	cat = calloc(1, sizeof(struct category));
	cat->name = strdup(category);
-
	while ((d = strsep(&results, " ")) != NULL) {
+
	while ((d = strsep(&results, " \n")) != NULL) {
		port = calloc(1, sizeof(struct port_entry));
		port->name = strdup(d);
		HASH_ADD_KEYPTR(hh, cat->ports, port->name,