aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-11-19 18:26:55 +0000
committerThierry Vignaud <tv@mageia.org>2012-11-19 18:26:55 +0000
commit94039713765f022e2f39a3aeb6cbe0f3b987ae84 (patch)
treeb185b739a20a82a60657df3f6c45c743add293c4
parent350c7f12726a05e54a04119c1540e2dbe07b8760 (diff)
downloadperl-URPM-94039713765f022e2f39a3aeb6cbe0f3b987ae84.tar
perl-URPM-94039713765f022e2f39a3aeb6cbe0f3b987ae84.tar.gz
perl-URPM-94039713765f022e2f39a3aeb6cbe0f3b987ae84.tar.bz2
perl-URPM-94039713765f022e2f39a3aeb6cbe0f3b987ae84.tar.xz
perl-URPM-94039713765f022e2f39a3aeb6cbe0f3b987ae84.zip
bump threshold for detecting looping forever (mga#8106)
-rw-r--r--NEWS1
-rw-r--r--URPM/Resolve.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e1932c3..b86ff03 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- bump threshold for detecting looping forever (mga#8106)
- drop header_filename (long obsolete, no more use)
Version 4.16 - 16 November 2012
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index df82e67..a906ea5 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1057,7 +1057,7 @@ sub resolve_requested__no_suggests_ {
}
# safety:
- if ($count++ > 1000) {
+ if ($count++ > 10000) {
die("detecting looping forever while trying to resolve dependancies.\n"
. "Aborting... Try again with '-vv --debug' options");
}