queue: push new unresolved dependencies to the front of the queue, rather than the tail

bsdstubs-errno
Ariadne Conill 2022-06-26 18:06:04 +00:00
parent fe4db3aad9
commit 9bc6d80e61
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/*