mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 09:13:43 +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;
|
ref->version = ID(versions)->key;
|
||||||
EXPECT(")");
|
EXPECT(")");
|
||||||
}
|
}
|
||||||
ref->next = *anchor;
|
|
||||||
*anchor = ref;
|
*anchor = ref;
|
||||||
|
ref->next = NULL;
|
||||||
|
anchor = &ref->next;
|
||||||
if (buf == end)
|
if (buf == end)
|
||||||
DONE;
|
DONE;
|
||||||
if (*buf != ',')
|
if (*buf != ',')
|
||||||
|
Loading…
Reference in New Issue
Block a user