From a4eb097b39b3d1a8a085bfba4b07cee43ccb15a3 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 4 Aug 2023 08:23:00 +0000 Subject: [PATCH] queue: process packages in the resolution queue in the correct order --- libpkgconf/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkgconf/queue.c b/libpkgconf/queue.c index 3e515ff..971d191 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(&pkgq->iter, pkgq, list); + pkgconf_node_insert_tail(&pkgq->iter, pkgq, list); } /*