aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-11-14 13:17:38 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-11-14 13:17:38 +0100
commita1e561b402e695b7f5ed67fe931fe337b61170ab (patch)
tree7601badb34aac8c6e825d7fe889847990b525588
parent70e96604413a7533792360fa7c6e18e65759196e (diff)
downloadperl-URPM-a1e561b402e695b7f5ed67fe931fe337b61170ab.tar
perl-URPM-a1e561b402e695b7f5ed67fe931fe337b61170ab.tar.gz
perl-URPM-a1e561b402e695b7f5ed67fe931fe337b61170ab.tar.bz2
perl-URPM-a1e561b402e695b7f5ed67fe931fe337b61170ab.tar.xz
perl-URPM-a1e561b402e695b7f5ed67fe931fe337b61170ab.zip
add a missing PUTBACK in traverse_tag_find()
this is needed after using POPi bug introduced in commit 4294365db5d78909ae5a490e0714db379502cd80
-rw-r--r--NEWS2
-rw-r--r--URPM.xs1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 552d23c..38a3cfa 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- add a missing PUTBACK in traverse_tag_find()
+
Version 5.02 - 26 October 2014
- add >recommends method (mga#14376)
diff --git a/URPM.xs b/URPM.xs
index b37c8bd..10d9c2c 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2451,6 +2451,7 @@ Db_traverse_tag_find(db,tag,name,callback)
found = 1;
break;
}
+ PUTBACK;
}
rpmtsSetVSFlags(db->ts, ovsflags);
(void)rpmdbFreeIterator(mi);