mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-04-21 12:27:27 +03: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:
@@ -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 != ',')
|
||||||
|
|||||||
Reference in New Issue
Block a user