Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
scheduler: restore the original order
Baptiste Daroussin committed 1 year ago
commit 202c5febd7812dcc56e4b6dab4d2e34d0952bd84
parent fef3ef213fc3828b173fb0acd8be526cd1290cd8
1 file changed +1 -1
modified libpkg/pkg_jobs_schedule.c
@@ -251,7 +251,7 @@ pkg_jobs_schedule_cmp_available(const void *va, const void *vb)
	if (ret == 0) {
		/* Falling back to lexicographical ordering ensures that job execution
		 * order is always consistent and makes testing easier. */
-
		return strcmp(a->items[0]->pkg->uid, b->items[0]->pkg->uid);
+
		return strcmp(b->items[0]->pkg->uid, a->items[0]->pkg->uid);
	} else {
		return ret;
	}