Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
scheduler: restore the original order
Baptiste Daroussin committed 1 year ago
commit 202c5febd7812dcc56e4b6dab4d2e34d0952bd84
parent fef3ef2
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;
	}