forked from ariadne/pkgconf
libpkgconf: pkg: show iteration depth when traversing
parent
be184cba1d
commit
acac1f8ed3
|
@ -1386,6 +1386,8 @@ pkgconf_pkg_traverse(pkgconf_client_t *client,
|
||||||
if (maxdepth == 0)
|
if (maxdepth == 0)
|
||||||
return eflags;
|
return eflags;
|
||||||
|
|
||||||
|
PKGCONF_TRACE(client, "%s: level %d", root->id, maxdepth);
|
||||||
|
|
||||||
if ((root->flags & PKGCONF_PKG_PROPF_VIRTUAL) != PKGCONF_PKG_PROPF_VIRTUAL || (client->flags & PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL) != PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL)
|
if ((root->flags & PKGCONF_PKG_PROPF_VIRTUAL) != PKGCONF_PKG_PROPF_VIRTUAL || (client->flags & PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL) != PKGCONF_PKG_PKGF_SKIP_ROOT_VIRTUAL)
|
||||||
{
|
{
|
||||||
if (func != NULL)
|
if (func != NULL)
|
||||||
|
|
Loading…
Reference in New Issue