From acac1f8ed39af96f1fd52f5593db985a7e9cbafd Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 24 Mar 2017 00:59:53 -0500 Subject: [PATCH] libpkgconf: pkg: show iteration depth when traversing --- libpkgconf/pkg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpkgconf/pkg.c b/libpkgconf/pkg.c index c2d6c6e..901f1c4 100644 --- a/libpkgconf/pkg.c +++ b/libpkgconf/pkg.c @@ -1386,6 +1386,8 @@ pkgconf_pkg_traverse(pkgconf_client_t *client, if (maxdepth == 0) 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 (func != NULL)