forked from ariadne/pkgconf
queue: push new unresolved dependencies to the front of the queue, rather than the tail
parent
fe4db3aad9
commit
9bc6d80e61
|
@ -51,7 +51,7 @@ pkgconf_queue_push(pkgconf_list_t *list, const char *package)
|
||||||
pkgconf_queue_t *pkgq = calloc(sizeof(pkgconf_queue_t), 1);
|
pkgconf_queue_t *pkgq = calloc(sizeof(pkgconf_queue_t), 1);
|
||||||
|
|
||||||
pkgq->package = strdup(package);
|
pkgq->package = strdup(package);
|
||||||
pkgconf_node_insert_tail(&pkgq->iter, pkgq, list);
|
pkgconf_node_insert(&pkgq->iter, pkgq, list);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue