aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2008-03-23 20:19:18 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2008-03-23 20:19:18 +0000
commit1d38ddd9ec4b22ac6e1978d0c9566ba815d3ac35 (patch)
tree48ad8fcfae2a2bc9466124bd67fba7647d721cdb
parentfb99a2c9ec7db8df5ee1425f09387b206fed3bad (diff)
downloadpaludis-1d38ddd9ec4b22ac6e1978d0c9566ba815d3ac35.tar.gz
paludis-1d38ddd9ec4b22ac6e1978d0c9566ba815d3ac35.tar.xz
Kill the 8 digit limit warnings for VersionSpec.
-rw-r--r--paludis/version_spec.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/paludis/version_spec.cc b/paludis/version_spec.cc
index fbeecff..e5e3754 100644
--- a/paludis/version_spec.cc
+++ b/paludis/version_spec.cc
@@ -122,11 +122,6 @@ VersionSpec::VersionSpec(const std::string & text) :
if (number_part.empty())
throw BadVersionSpecError(text, "Expected number part not found at offset " + stringify(p));
- if (number_part.size() > 8)
- Log::get_instance()->message(ll_qa, lc_context) <<
- "Number part '" << number_part << "' exceeds 8 digit limit permitted by the Package Manager Specification "
- "(Paludis supports arbitrary lengths, but other package managers do not)";
-
_imp->parts.push_back(Part(number, number_part));
if (p < text.length() && ('.' != text.at(p) || p + 1 == text.length()))
@@ -182,11 +177,6 @@ VersionSpec::VersionSpec(const std::string & text) :
std::string number_part(std::string::npos == q ? text.substr(p) : text.substr(p, q - p));
p = std::string::npos == q ? text.length() : q;
- if (number_part.size() > 8)
- Log::get_instance()->message(ll_qa, lc_context) <<
- "Number part '" << number_part << "' exceeds 8 digit limit permitted by the Package Manager Specification "
- "(Paludis supports arbitrary lengths, but other package managers do not)";
-
if (number_part.size() > 0)
{
number_part = strip_leading(number_part, "0");
@@ -207,11 +197,6 @@ VersionSpec::VersionSpec(const std::string & text) :
std::string number_part(std::string::npos == q ? text.substr(p) : text.substr(p, q - p));
p = std::string::npos == q ? text.length() : q;
- if (number_part.size() > 8)
- Log::get_instance()->message(ll_qa, lc_context) <<
- "Number part '" << number_part << "' exceeds 8 digit limit permitted by the Package Manager Specification "
- "(Paludis supports arbitrary lengths, but other package managers do not)";
-
if (number_part.size() > 0)
{
number_part = strip_leading(number_part, "0");
@@ -249,11 +234,6 @@ VersionSpec::VersionSpec(const std::string & text) :
std::string number_part(std::string::npos == q ? text.substr(p) : text.substr(p, q - p));
p = std::string::npos == q ? text.length() : q;
- if (number_part.size() > 8)
- Log::get_instance()->message(ll_qa, lc_context) <<
- "Number part '" << number_part << "' exceeds 8 digit limit permitted by the Package Manager Specification "
- "(Paludis supports arbitrary lengths, but other package managers do not)";
-
/* Are we -r */
bool empty(number_part.empty());