mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-19 09:15:19 +02:00
qpkg: store dependencies and conflicts in file order
- gobble.c (gobble_buf): list_with_version reversed the order of the list items. It makes the behaviour of later algorithms more intuitive if we maintain the file order.
This commit is contained in:
parent
9272f5057d
commit
6c66fa6053
@ -413,8 +413,9 @@ list_with_version:
|
||||
ref->version = ID(versions)->key;
|
||||
EXPECT(")");
|
||||
}
|
||||
ref->next = *anchor;
|
||||
*anchor = ref;
|
||||
ref->next = NULL;
|
||||
anchor = &ref->next;
|
||||
if (buf == end)
|
||||
DONE;
|
||||
if (*buf != ',')
|
||||
|
Loading…
Reference in New Issue
Block a user