Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Do not ignore the last entry from SUBDIR
Baptiste Daroussin committed 11 years ago
commit a25116b013afc310b63c29bc7271cc6fc710bb2c
parent 634a266
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,