aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index b5579ae..4391c68 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2435,8 +2435,10 @@ Db_traverse_tag_find(db,tag,name,callback)
ovsflags = ts_nosignature(db->ts);
mi = rpmtsInitIterator(db->ts, rpmtag, name, 0);
while ((header = rpmdbNextIterator(mi))) {
+ dSP;
int count = _run_cb_while_traversing(callback, header, 0);
+ SPAGAIN;
if (count == 1 && POPi) {
found = 1;
break;