lib/package_alternatives.c: fix wrong /. handling for normalizing paths.
This commit is contained in:
		| @@ -71,7 +71,7 @@ reinit: | ||||
| 		else if (strncmp(p, "/./", 3) == 0 || strncmp(p, "/.", 3) == 0) { | ||||
| 			memmove(p, p+2, strlen(p+2) + 1); | ||||
| 		} | ||||
| 		else if (*p == '/') | ||||
| 		if (*p == '/') | ||||
| 			seg = p; | ||||
| 	} | ||||
| 	return path; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user