From 9bc6d80e61899a697296d26e892e0aeae2f3d666 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sun, 26 Jun 2022 18:06:04 +0000 Subject: [PATCH] queue: push new unresolved dependencies to the front of the queue, rather than the tail --- libpkgconf/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkgconf/queue.c b/libpkgconf/queue.c index 364e096..0b3272a 100644 --- a/libpkgconf/queue.c +++ b/libpkgconf/queue.c @@ -51,7 +51,7 @@ pkgconf_queue_push(pkgconf_list_t *list, const char *package) pkgconf_queue_t *pkgq = calloc(sizeof(pkgconf_queue_t), 1); pkgq->package = strdup(package); - pkgconf_node_insert_tail(&pkgq->iter, pkgq, list); + pkgconf_node_insert(&pkgq->iter, pkgq, list); } /*