forked from ariadne/pkgconf
pkg: only advance serial if we are actually traversing from a root
parent
760d1eea10
commit
69f630aadc
|
@ -1622,6 +1622,7 @@ pkgconf_pkg_traverse(pkgconf_client_t *client,
|
||||||
int maxdepth,
|
int maxdepth,
|
||||||
unsigned int skip_flags)
|
unsigned int skip_flags)
|
||||||
{
|
{
|
||||||
|
if (root->flags & PKGCONF_PKG_PROPF_VIRTUAL)
|
||||||
client->serial++;
|
client->serial++;
|
||||||
|
|
||||||
return pkgconf_pkg_traverse_main(client, root, func, data, maxdepth, skip_flags);
|
return pkgconf_pkg_traverse_main(client, root, func, data, maxdepth, skip_flags);
|
||||||
|
|
Loading…
Reference in New Issue